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

Unified Diff: cc/test/mock_quad_culler.h

Issue 304203005: Remove const LayerImpl* from QuadSink (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@onlyQuadSink
Patch Set: Created 6 years, 7 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: cc/test/mock_quad_culler.h
diff --git a/cc/test/mock_quad_culler.h b/cc/test/mock_quad_culler.h
index 93da726d4ad1e0fb101cc9334b8bf954cdccf8b0..a60e20835aa1dbb6bfd55a8890c47d6c24536309 100644
--- a/cc/test/mock_quad_culler.h
+++ b/cc/test/mock_quad_culler.h
@@ -22,10 +22,12 @@ class MockQuadCuller : public QuadSink {
MockOcclusionTracker<LayerImpl>* occlusion_tracker);
virtual gfx::Rect UnoccludedContentRect(
+ const LayerImpl* layer,
const gfx::Rect& content_rect,
const gfx::Transform& draw_transform) OVERRIDE;
virtual gfx::Rect UnoccludedContributingSurfaceContentRect(
+ const LayerImpl* layer,
const gfx::Rect& content_rect,
const gfx::Transform& draw_transform) OVERRIDE;
@@ -44,8 +46,6 @@ class MockQuadCuller : public QuadSink {
occluded);
}
- void set_layer(const LayerImpl* layer) { layer_ = layer; }
-
void clear_lists() {
render_pass_->quad_list.clear();
render_pass_->shared_quad_state_list.clear();

Powered by Google App Engine
This is Rietveld 408576698