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

Unified Diff: content/renderer/memory_benchmarking_extension.cc

Issue 1469843002: Remove dependency on allocator from 'content' targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@unify_allocator1_2
Patch Set: Fix build Created 5 years, 1 month 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
Index: content/renderer/memory_benchmarking_extension.cc
diff --git a/content/renderer/memory_benchmarking_extension.cc b/content/renderer/memory_benchmarking_extension.cc
index 8ed0185b58f07cd62d23dd2e556c6d3e814fce3c..6712163e0f9887189234bea5bcc9292f1c50e0fd 100644
--- a/content/renderer/memory_benchmarking_extension.cc
+++ b/content/renderer/memory_benchmarking_extension.cc
@@ -58,7 +58,7 @@ MemoryBenchmarkingExtension::GetObjectTemplateBuilder(v8::Isolate* isolate) {
bool MemoryBenchmarkingExtension::IsHeapProfilerRunning() {
#if defined(USE_TCMALLOC) && (defined(OS_LINUX) || defined(OS_ANDROID))
- return ::IsHeapProfilerRunning();
+ return base::allocator::IsHeapProfilerRunning();
#else
return false;
#endif
@@ -79,7 +79,7 @@ void MemoryBenchmarkingExtension::HeapProfilerDump(gin::Arguments* args) {
content::RenderThreadImpl::current()->Send(
new MemoryBenchmarkHostMsg_HeapProfilerDump(reason));
} else {
- ::HeapProfilerDump(reason.c_str());
+ base::allocator::HeapProfilerDump(reason.c_str());
}
#endif
}
« base/allocator/allocator_extension.cc ('K') | « content/child/child_thread_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698