Index: cc/layers/layer_impl_unittest.cc |
diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc |
index 1ab7a71b2ca93a2d39c3e66e1201fa7a88da65b2..a70c57fcb90c4cacad6cf59eaa7cf6809b83b1e6 100644 |
--- a/cc/layers/layer_impl_unittest.cc |
+++ b/cc/layers/layer_impl_unittest.cc |
@@ -391,6 +391,7 @@ TEST_F(LayerImplScrollTest, ScrollByWithNonZeroOffset) { |
class ScrollDelegateIgnore : public LayerScrollOffsetDelegate { |
public: |
+ virtual void SetMaxScrollOffset(gfx::Vector2dF max_scroll_offset) OVERRIDE {} |
virtual void SetTotalScrollOffset(gfx::Vector2dF new_value) OVERRIDE {} |
virtual gfx::Vector2dF GetTotalScrollOffset() OVERRIDE { |
return fixed_offset_; |
@@ -441,6 +442,7 @@ TEST_F(LayerImplScrollTest, ScrollByWithIgnoringDelegate) { |
class ScrollDelegateAccept : public LayerScrollOffsetDelegate { |
public: |
+ virtual void SetMaxScrollOffset(gfx::Vector2dF max_scroll_offset) OVERRIDE {} |
virtual void SetTotalScrollOffset(gfx::Vector2dF new_value) OVERRIDE { |
current_offset_ = new_value; |
} |