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

Unified Diff: content/renderer/render_thread_impl.cc

Issue 2668663002: Purge memory before suspending timer queues when backgrounded. (Closed)
Patch Set: Patch for landing Created 3 years, 10 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 | « content/public/test/render_view_test.cc ('k') | content/renderer/renderer_blink_platform_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/render_thread_impl.cc
diff --git a/content/renderer/render_thread_impl.cc b/content/renderer/render_thread_impl.cc
index ab4f08aa972516ff65657aa006a1b3fa2882a3eb..65945ddfb4acf4db0ece97e5eb225be15d6cb13b 100644
--- a/content/renderer/render_thread_impl.cc
+++ b/content/renderer/render_thread_impl.cc
@@ -1124,8 +1124,8 @@ void RenderThreadImpl::InitializeWebKit(
->SetRuntimeFeaturesDefaultsBeforeBlinkInitialization();
blink_platform_impl_.reset(new RendererBlinkPlatformImpl(
- renderer_scheduler_.get(),
- GetRemoteInterfaces()->GetWeakPtr()));
+ renderer_scheduler_.get(), GetRemoteInterfaces()->GetWeakPtr(),
+ memory_coordinator_.get()));
blink::initialize(blink_platform_impl_.get());
v8::Isolate* isolate = blink::mainThreadIsolate();
« no previous file with comments | « content/public/test/render_view_test.cc ('k') | content/renderer/renderer_blink_platform_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698