Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(594)

Side by Side Diff: Source/core/rendering/RenderNamedFlowThread.cpp

Issue 20231002: Replace RenderArena with PartitionAlloc (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase. Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderObject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 29 matching lines...) Expand all
40 #include "core/rendering/RenderInline.h" 40 #include "core/rendering/RenderInline.h"
41 #include "core/rendering/RenderRegion.h" 41 #include "core/rendering/RenderRegion.h"
42 #include "core/rendering/RenderText.h" 42 #include "core/rendering/RenderText.h"
43 #include "core/rendering/RenderView.h" 43 #include "core/rendering/RenderView.h"
44 44
45 namespace WebCore { 45 namespace WebCore {
46 46
47 RenderNamedFlowThread* RenderNamedFlowThread::createAnonymous(Document* document , PassRefPtr<NamedFlow> namedFlow) 47 RenderNamedFlowThread* RenderNamedFlowThread::createAnonymous(Document* document , PassRefPtr<NamedFlow> namedFlow)
48 { 48 {
49 ASSERT(RuntimeEnabledFeatures::cssRegionsEnabled()); 49 ASSERT(RuntimeEnabledFeatures::cssRegionsEnabled());
50 RenderNamedFlowThread* renderer = new (document->renderArena()) RenderNamedF lowThread(namedFlow); 50 RenderNamedFlowThread* renderer = new RenderNamedFlowThread(namedFlow);
51 renderer->setDocumentForAnonymous(document); 51 renderer->setDocumentForAnonymous(document);
52 return renderer; 52 return renderer;
53 } 53 }
54 54
55 RenderNamedFlowThread::RenderNamedFlowThread(PassRefPtr<NamedFlow> namedFlow) 55 RenderNamedFlowThread::RenderNamedFlowThread(PassRefPtr<NamedFlow> namedFlow)
56 : m_overset(true) 56 : m_overset(true)
57 , m_namedFlow(namedFlow) 57 , m_namedFlow(namedFlow)
58 , m_regionLayoutUpdateEventTimer(this, &RenderNamedFlowThread::regionLayoutU pdateEventTimerFired) 58 , m_regionLayoutUpdateEventTimer(this, &RenderNamedFlowThread::regionLayoutU pdateEventTimerFired)
59 , m_regionOversetChangeEventTimer(this, &RenderNamedFlowThread::regionOverse tChangeEventTimerFired) 59 , m_regionOversetChangeEventTimer(this, &RenderNamedFlowThread::regionOverse tChangeEventTimerFired)
60 { 60 {
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after
687 lastEndNode = node; 687 lastEndNode = node;
688 } 688 }
689 } 689 }
690 } 690 }
691 if (foundStartPosition || skipOverOutsideNodes) 691 if (foundStartPosition || skipOverOutsideNodes)
692 rangeObjects.append(range); 692 rangeObjects.append(range);
693 } 693 }
694 } 694 }
695 695
696 } 696 }
OLDNEW
« no previous file with comments | « Source/core/rendering/RenderMultiColumnSet.cpp ('k') | Source/core/rendering/RenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698