Index: cc/layers/layer_impl.h |
diff --git a/cc/layers/layer_impl.h b/cc/layers/layer_impl.h |
index fe2462921373bfb8900b57796a4188d38a36e3d6..ec5054d77fbc6908da0f78041e665cbf82a10257 100644 |
--- a/cc/layers/layer_impl.h |
+++ b/cc/layers/layer_impl.h |
@@ -456,6 +456,11 @@ class CC_EXPORT LayerImpl : public LayerAnimationValueObserver, |
void SetBounds(const gfx::Size& bounds); |
gfx::Size bounds() const; |
+ |
+ // SetBoundsForTesting shall only be called by impl thread unit tests. |
+ // It calls SetBounds and rebuild property trees. |
+ void SetBoundsForTesting(const gfx::Size& bounds); |
sunxd
2016/02/09 00:11:32
This is dead code, will be deleted.
|
+ |
// Like bounds() but doesn't snap to int. Lossy on giant pages (e.g. millions |
// of pixels) due to use of single precision float. |
gfx::SizeF BoundsForScrolling() const; |