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 b6cfde1994e00aef70b738de245456fa7f901d49..00b5600493cbdb861ca28cf705669d264014cc92 100644 |
--- a/content/browser/android/content_view_statics.cc |
+++ b/content/browser/android/content_view_statics.cc |
@@ -60,11 +60,9 @@ class SuspendedProcessWatcher : public content::RenderProcessHostObserver { |
content::RenderProcessHost::AllHostsIterator()); |
!i.IsAtEnd(); i.Advance()) { |
content::RenderProcessHost* host = i.GetCurrentValue(); |
- if (host->HasConnection()) { |
Yaron
2014/06/18 00:41:17
This was done per Grace's comment: https://coderev
|
- host->AddObserver(this); |
- host->Send(new ViewMsg_SetWebKitSharedTimersSuspended(true)); |
- suspended_processes_.push_back(host->GetID()); |
- } |
+ host->AddObserver(this); |
+ host->Send(new ViewMsg_SetWebKitSharedTimersSuspended(true)); |
+ suspended_processes_.push_back(host->GetID()); |
} |
} |