Index: cc/test/layer_tree_pixel_test.h |
diff --git a/cc/test/layer_tree_pixel_test.h b/cc/test/layer_tree_pixel_test.h |
index 91081f83a68dae758935d6f7ced031ec62a8364a..8d02280853594b54bc5b580b27dbdbad8eefee41 100644 |
--- a/cc/test/layer_tree_pixel_test.h |
+++ b/cc/test/layer_tree_pixel_test.h |
@@ -91,6 +91,10 @@ class LayerTreePixelTest : public LayerTreeTest { |
uint32 sync_point, |
bool lost_resource); |
+ void set_enlarge_texture_amount(const gfx::Vector2d& enlarge_texture_amount) { |
+ enlarge_texture_amount_ = enlarge_texture_amount; |
+ } |
+ |
// Common CSS colors defined for tests to use. |
static const SkColor kCSSOrange = 0xffffa500; |
static const SkColor kCSSBrown = 0xffa52a2a; |
@@ -106,6 +110,7 @@ class LayerTreePixelTest : public LayerTreeTest { |
std::vector<scoped_refptr<TextureLayer>> texture_layers_; |
int pending_texture_mailbox_callbacks_; |
bool impl_side_painting_; |
+ gfx::Vector2d enlarge_texture_amount_; |
}; |
} // namespace cc |