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

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

Issue 693773003: Cleanup various includes and namespace references. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 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
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 31eaabeb0b52398e03805b9e207f7efcffc66998..1c4e9035d152413ba6670c9b5286a6cb5b1c80d3 100644
--- a/content/browser/android/content_view_statics.cc
+++ b/content/browser/android/content_view_statics.cc
@@ -83,7 +83,7 @@ class SuspendedProcessWatcher : public content::RenderProcessHostObserver {
std::vector<int>::iterator pos = std::find(suspended_processes_.begin(),
suspended_processes_.end(),
host->GetID());
- DCHECK_NE(pos, suspended_processes_.end());
Sami 2014/10/31 14:33:27 Is this working around some bug in the DCHECK_NE m
pasko 2014/10/31 15:38:24 I think *CHECK_NE macro (and similar) are better t
Fabrice (no longer in Chrome) 2014/10/31 15:45:24 I'm inclined to say the problem is here. There is
+ DCHECK(pos != suspended_processes_.end());
host->RemoveObserver(this);
suspended_processes_.erase(pos);
}

Powered by Google App Engine
This is Rietveld 408576698