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

Unified Diff: Source/core/layout/LayoutObject.cpp

Issue 1041103002: PartitionAlloc: Centralize Partition allocators into one place (Part 1) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/layout/LayoutState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutObject.cpp
diff --git a/Source/core/layout/LayoutObject.cpp b/Source/core/layout/LayoutObject.cpp
index f6770bd817a79cd8f1e0247ef21b6722fce5f35b..9e196557d2f6b1fad474a65411c2fa614347b0ad 100644
--- a/Source/core/layout/LayoutObject.cpp
+++ b/Source/core/layout/LayoutObject.cpp
@@ -78,13 +78,13 @@
#include "core/paint/DeprecatedPaintLayer.h"
#include "core/paint/ObjectPainter.h"
#include "platform/JSONValues.h"
-#include "platform/Partitions.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/TraceEvent.h"
#include "platform/TracedValue.h"
#include "platform/geometry/TransformState.h"
#include "platform/graphics/GraphicsContext.h"
#include "platform/graphics/paint/DisplayItemList.h"
+#include "wtf/Partitions.h"
#include "wtf/RefCountedLeakCounter.h"
#include "wtf/text/StringBuilder.h"
#include "wtf/text/WTFString.h"
@@ -142,7 +142,7 @@ static SelectionPaintInvalidationMap* selectionPaintInvalidationMap = 0;
void* LayoutObject::operator new(size_t sz)
{
ASSERT(isMainThread());
- return partitionAlloc(Partitions::getRenderingPartition(), sz);
+ return partitionAlloc(WTF::Partitions::getRenderingPartition(), sz);
}
void LayoutObject::operator delete(void* ptr)
« no previous file with comments | « Source/core/dom/Node.cpp ('k') | Source/core/layout/LayoutState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698