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

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

Issue 2228403003: content: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased Created 4 years, 4 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/appcache/appcache.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/android/synchronous_compositor_observer.cc
diff --git a/content/browser/android/synchronous_compositor_observer.cc b/content/browser/android/synchronous_compositor_observer.cc
index c1ed799c8957781327b54282917a1b35977267e4..bbf778510d8fa626117f3936b826edc8eff23304 100644
--- a/content/browser/android/synchronous_compositor_observer.cc
+++ b/content/browser/android/synchronous_compositor_observer.cc
@@ -33,14 +33,14 @@ SynchronousCompositorObserver::SynchronousCompositorObserver(int process_id)
: render_process_host_(RenderProcessHost::FromID(process_id)),
window_android_in_vsync_(nullptr) {
DCHECK(render_process_host_);
- DCHECK(!ContainsKey(g_instances.Get(), render_process_host_->GetID()));
+ DCHECK(!base::ContainsKey(g_instances.Get(), render_process_host_->GetID()));
g_instances.Get()[render_process_host_->GetID()] = this;
render_process_host_->AddObserver(this);
}
SynchronousCompositorObserver::~SynchronousCompositorObserver() {
DCHECK(compositor_host_pending_renderer_state_.empty());
- DCHECK(ContainsKey(g_instances.Get(), render_process_host_->GetID()));
+ DCHECK(base::ContainsKey(g_instances.Get(), render_process_host_->GetID()));
DCHECK_EQ(this, g_instances.Get()[render_process_host_->GetID()]);
render_process_host_->RemoveObserver(this);
g_instances.Get().erase(render_process_host_->GetID());
@@ -59,8 +59,8 @@ void SynchronousCompositorObserver::SyncStateAfterVSync(
window_android_in_vsync_ == window_android)
<< !!window_android_in_vsync_;
DCHECK(compositor_host);
- DCHECK(
- !ContainsValue(compositor_host_pending_renderer_state_, compositor_host));
+ DCHECK(!base::ContainsValue(compositor_host_pending_renderer_state_,
+ compositor_host));
compositor_host_pending_renderer_state_.push_back(compositor_host);
if (window_android_in_vsync_)
return;
« no previous file with comments | « no previous file | content/browser/appcache/appcache.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698