Index: cc/layer_tree_host_unittest.cc |
diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc |
index 87d47e060d734180dfdfc68f8dd6244a431e3a53..aa65a21414671db2097893ab4f56407e63b18f9f 100644 |
--- a/cc/layer_tree_host_unittest.cc |
+++ b/cc/layer_tree_host_unittest.cc |
@@ -1220,9 +1220,15 @@ class NoScaleContentLayer : public ContentLayer { |
public: |
static scoped_refptr<NoScaleContentLayer> create(ContentLayerClient* client) { return make_scoped_refptr(new NoScaleContentLayer(client)); } |
- virtual gfx::Size contentBounds() const OVERRIDE { return bounds(); } |
- virtual float contentsScaleX() const OVERRIDE { return 1.0; } |
- virtual float contentsScaleY() const OVERRIDE { return 1.0; } |
+ virtual void didUpdateBounds() OVERRIDE |
+ { |
+ Layer::didUpdateBounds(); |
+ } |
+ |
+ virtual void setIdealContentsScale(float idealContentsScale) |
+ { |
+ Layer::setIdealContentsScale(idealContentsScale); |
+ } |
private: |
explicit NoScaleContentLayer(ContentLayerClient* client) |