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

Unified Diff: content/browser/android/content_view_statics.cc

Issue 2400313002: Convert miscellaneous RenderThreadImpl messages to mojom (Closed)
Patch Set: rebase Created 4 years, 2 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 | content/browser/net/browser_online_state_observer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/content_view_statics.cc
diff --git a/content/browser/android/content_view_statics.cc b/content/browser/android/content_view_statics.cc
index 81c3e351a82e6f6e283eedb6937bc02574105463..b0f43af4262a9a16f3cca142cc368282ecedcf5b 100644
--- a/content/browser/android/content_view_statics.cc
+++ b/content/browser/android/content_view_statics.cc
@@ -11,6 +11,7 @@
#include "base/lazy_instance.h"
#include "base/logging.h"
#include "content/browser/android/content_view_statics.h"
+#include "content/browser/renderer_host/render_process_host_impl.h"
#include "content/common/android/address_parser.h"
#include "content/common/view_messages.h"
#include "content/public/browser/render_process_host.h"
@@ -60,7 +61,7 @@ class SuspendedProcessWatcher : public content::RenderProcessHostObserver {
!i.IsAtEnd(); i.Advance()) {
content::RenderProcessHost* host = i.GetCurrentValue();
host->AddObserver(this);
- host->Send(new ViewMsg_SetWebKitSharedTimersSuspended(true));
+ host->GetRendererInterface()->SetWebKitSharedTimersSuspended(true);
suspended_processes_.push_back(host->GetID());
}
}
@@ -73,7 +74,7 @@ class SuspendedProcessWatcher : public content::RenderProcessHostObserver {
content::RenderProcessHost::FromID(*it);
DCHECK(host);
host->RemoveObserver(this);
- host->Send(new ViewMsg_SetWebKitSharedTimersSuspended(false));
+ host->GetRendererInterface()->SetWebKitSharedTimersSuspended(false);
}
suspended_processes_.clear();
}
« no previous file with comments | « no previous file | content/browser/net/browser_online_state_observer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698