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

Unified Diff: Source/core/paint/DeprecatedPaintLayer.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/layout/line/InlineBox.cpp ('k') | Source/platform/Partitions.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/paint/DeprecatedPaintLayer.cpp
diff --git a/Source/core/paint/DeprecatedPaintLayer.cpp b/Source/core/paint/DeprecatedPaintLayer.cpp
index 4252b9c8fbb2690806b3070ae0b33800ca95eb44..e906c3c51698758fb0bfc4429c92e4c54bec33f9 100644
--- a/Source/core/paint/DeprecatedPaintLayer.cpp
+++ b/Source/core/paint/DeprecatedPaintLayer.cpp
@@ -74,7 +74,6 @@
#include "core/page/Page.h"
#include "core/page/scrolling/ScrollingCoordinator.h"
#include "platform/LengthFunctions.h"
-#include "platform/Partitions.h"
#include "platform/RuntimeEnabledFeatures.h"
#include "platform/TraceEvent.h"
#include "platform/geometry/FloatPoint3D.h"
@@ -86,6 +85,7 @@
#include "platform/transforms/TransformationMatrix.h"
#include "platform/transforms/TranslateTransformOperation.h"
#include "public/platform/Platform.h"
+#include "wtf/Partitions.h"
#include "wtf/StdLibExtras.h"
#include "wtf/text/CString.h"
@@ -1209,7 +1209,7 @@ LayoutRect DeprecatedPaintLayer::paintingExtent(const DeprecatedPaintLayer* root
void* DeprecatedPaintLayer::operator new(size_t sz)
{
- return partitionAlloc(Partitions::getRenderingPartition(), sz);
+ return partitionAlloc(WTF::Partitions::getRenderingPartition(), sz);
}
void DeprecatedPaintLayer::operator delete(void* ptr)
« no previous file with comments | « Source/core/layout/line/InlineBox.cpp ('k') | Source/platform/Partitions.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698