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

Unified Diff: Source/bindings/core/v8/V8GCController.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 | « no previous file | Source/core/Init.cpp » ('j') | Source/wtf/Partitions.h » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/bindings/core/v8/V8GCController.cpp
diff --git a/Source/bindings/core/v8/V8GCController.cpp b/Source/bindings/core/v8/V8GCController.cpp
index 988494461fce911af27380899904c4ad4b3f2543..e45c8369e4821f60f1ff814ea8727e752f0e4988 100644
--- a/Source/bindings/core/v8/V8GCController.cpp
+++ b/Source/bindings/core/v8/V8GCController.cpp
@@ -49,8 +49,8 @@
#include "core/html/imports/HTMLImportsController.h"
#include "core/inspector/InspectorTraceEvents.h"
#include "core/svg/SVGElement.h"
-#include "platform/Partitions.h"
#include "platform/TraceEvent.h"
+#include "wtf/Partitions.h"
#include "wtf/Vector.h"
#include <algorithm>
@@ -475,7 +475,7 @@ void V8GCController::reportDOMMemoryUsageToV8(v8::Isolate* isolate)
static size_t lastUsageReportedToV8 = 0;
- size_t currentUsage = Partitions::currentDOMMemoryUsage();
+ size_t currentUsage = WTF::Partitions::currentDOMMemoryUsage();
int64_t diff = static_cast<int64_t>(currentUsage) - static_cast<int64_t>(lastUsageReportedToV8);
isolate->AdjustAmountOfExternalAllocatedMemory(diff);
« no previous file with comments | « no previous file | Source/core/Init.cpp » ('j') | Source/wtf/Partitions.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698