Index: cc/layer_tree_host_unittest.cc |
diff --git a/cc/layer_tree_host_unittest.cc b/cc/layer_tree_host_unittest.cc |
index 72b094a36cba6363acd0f3f47eb4af092b24b05c..035c2c4c72f1833ccab04135b02685aa9f0045e5 100644 |
--- a/cc/layer_tree_host_unittest.cc |
+++ b/cc/layer_tree_host_unittest.cc |
@@ -1255,7 +1255,9 @@ class NoScaleContentLayer : public ContentLayer { |
public: |
static scoped_refptr<NoScaleContentLayer> create(ContentLayerClient* client) { return make_scoped_refptr(new NoScaleContentLayer(client)); } |
- virtual bool needsContentsScale() const OVERRIDE { return false; } |
+ virtual IntSize contentBounds() const OVERRIDE { return bounds(); } |
+ virtual float contentsScaleX() const OVERRIDE { return 1.0; } |
+ virtual float contentsScaleY() const OVERRIDE { return 1.0; } |
private: |
explicit NoScaleContentLayer(ContentLayerClient* client) |