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

Unified Diff: cc/test/tiled_layer_test_common.h

Issue 565043002: cc: Remove the opaque rect return-parameter from ContentLayerClient. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: contentlayerclientopaque: build Created 6 years, 3 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/test/solid_color_content_layer_client.cc ('k') | cc/test/tiled_layer_test_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/tiled_layer_test_common.h
diff --git a/cc/test/tiled_layer_test_common.h b/cc/test/tiled_layer_test_common.h
index f7e01584404cabc86d9ea3b467189006adbd193e..55250f5a79ae419cc51e272ffc4577370f08d5c2 100644
--- a/cc/test/tiled_layer_test_common.h
+++ b/cc/test/tiled_layer_test_common.h
@@ -47,8 +47,7 @@ class FakeLayerUpdater : public LayerUpdater {
virtual void PrepareToUpdate(const gfx::Rect& content_rect,
const gfx::Size& tile_size,
float contents_width_scale,
- float contents_height_scale,
- gfx::Rect* resulting_opaque_rect) OVERRIDE;
+ float contents_height_scale) OVERRIDE;
// Sets the rect to invalidate during the next call to PrepareToUpdate().
// After the next call to PrepareToUpdate() the rect is reset.
void SetRectToInvalidate(const gfx::Rect& rect, FakeTiledLayer* layer);
@@ -64,10 +63,6 @@ class FakeLayerUpdater : public LayerUpdater {
void ClearUpdateCount() { update_count_ = 0; }
void Update() { update_count_++; }
- void SetOpaquePaintRect(const gfx::Rect& opaque_paint_rect) {
- opaque_paint_rect_ = opaque_paint_rect;
- }
-
protected:
virtual ~FakeLayerUpdater();
@@ -76,7 +71,6 @@ class FakeLayerUpdater : public LayerUpdater {
int update_count_;
gfx::Rect rect_to_invalidate_;
gfx::Rect last_update_rect_;
- gfx::Rect opaque_paint_rect_;
scoped_refptr<FakeTiledLayer> layer_;
DISALLOW_COPY_AND_ASSIGN(FakeLayerUpdater);
« no previous file with comments | « cc/test/solid_color_content_layer_client.cc ('k') | cc/test/tiled_layer_test_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698