summaryrefslogtreecommitdiffstats
path: root/cc/test/pixel_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/pixel_test.cc')
-rw-r--r--cc/test/pixel_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc
index cd007c1..ed1ad5a 100644
--- a/cc/test/pixel_test.cc
+++ b/cc/test/pixel_test.cc
@@ -41,8 +41,6 @@ class PixelTest::PixelTestRendererClient
return settings_;
}
virtual void SetFullRootLayerDamage() OVERRIDE {}
- virtual void SetManagedMemoryPolicy(
- const ManagedMemoryPolicy& policy) OVERRIDE {}
virtual bool HasImplThread() const OVERRIDE { return false; }
virtual bool ShouldClearRootRenderPass() const OVERRIDE { return true; }
virtual CompositorFrameMetadata MakeCompositorFrameMetadata() const
@@ -66,6 +64,8 @@ class PixelTest::PixelTestRendererClient
gfx::Rect viewport) OVERRIDE {
device_viewport_ = viewport;
}
+ virtual void SetMemoryPolicy(
+ const ManagedMemoryPolicy& policy, bool discard) OVERRIDE {}
private:
gfx::Rect device_viewport_;