| 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..f0aae964b955c89b62c2f34306c39971158cacc2 100644
|
| --- a/cc/test/tiled_layer_test_common.h
|
| +++ b/cc/test/tiled_layer_test_common.h
|
| @@ -55,6 +55,9 @@ class FakeLayerUpdater : public LayerUpdater {
|
| // Last rect passed to PrepareToUpdate().
|
| gfx::Rect last_update_rect() const { return last_update_rect_; }
|
|
|
| + // Value of |contents_width_scale| last passed to PrepareToUpdate().
|
| + float last_contents_width_scale() const { return last_contents_width_scale_; }
|
| +
|
| // Number of times PrepareToUpdate has been invoked.
|
| int prepare_count() const { return prepare_count_; }
|
| void ClearPrepareCount() { prepare_count_ = 0; }
|
| @@ -77,6 +80,7 @@ class FakeLayerUpdater : public LayerUpdater {
|
| gfx::Rect rect_to_invalidate_;
|
| gfx::Rect last_update_rect_;
|
| gfx::Rect opaque_paint_rect_;
|
| + float last_contents_width_scale_;
|
| scoped_refptr<FakeTiledLayer> layer_;
|
|
|
| DISALLOW_COPY_AND_ASSIGN(FakeLayerUpdater);
|
|
|