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

Unified Diff: cc/render_pass.cc

Issue 11418108: cc: Make the ScopedPtrVector and ScopedPtrDeque containers act like STL vector and deque. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android!! Created 7 years, 11 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 | « cc/quad_culler.cc ('k') | cc/render_pass_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/render_pass.cc
diff --git a/cc/render_pass.cc b/cc/render_pass.cc
index b3c1ede9fb5c2c02db50ec547720f7ea6a59e300..24f1cd51b0e3fb0b044385ab93c82f2109cf560d 100644
--- a/cc/render_pass.cc
+++ b/cc/render_pass.cc
@@ -44,8 +44,8 @@ void RenderPass::SetNew(Id id,
this->damage_rect = damage_rect;
this->transform_to_root_target = transform_to_root_target;
- DCHECK(quad_list.isEmpty());
- DCHECK(shared_quad_state_list.isEmpty());
+ DCHECK(quad_list.empty());
+ DCHECK(shared_quad_state_list.empty());
}
void RenderPass::SetAll(Id id,
@@ -65,8 +65,8 @@ void RenderPass::SetAll(Id id,
this->has_occlusion_from_outside_target_surface =
has_occlusion_from_outside_target_surface;
- DCHECK(quad_list.isEmpty());
- DCHECK(shared_quad_state_list.isEmpty());
+ DCHECK(quad_list.empty());
+ DCHECK(shared_quad_state_list.empty());
}
} // namespace cc
« no previous file with comments | « cc/quad_culler.cc ('k') | cc/render_pass_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698