summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_proxy.cc
diff options
context:
space:
mode:
Diffstat (limited to 'cc/test/fake_proxy.cc')
-rw-r--r--cc/test/fake_proxy.cc13
1 files changed, 5 insertions, 8 deletions
diff --git a/cc/test/fake_proxy.cc b/cc/test/fake_proxy.cc
index 9a3fc9d..0ec3ab2 100644
--- a/cc/test/fake_proxy.cc
+++ b/cc/test/fake_proxy.cc
@@ -6,20 +6,17 @@
namespace cc {
-void FakeProxy::SetLayerTreeHost(LayerTreeHost* host) {
- layer_tree_host_ = host;
-}
-
bool FakeProxy::CompositeAndReadback(void* pixels, gfx::Rect rect) {
return true;
}
bool FakeProxy::IsStarted() const { return true; }
-void FakeProxy::CreateAndInitializeOutputSurface() {
- DCHECK(layer_tree_host_);
- layer_tree_host_->OnCreateAndInitializeOutputSurfaceAttempted(true);
-}
+bool FakeProxy::InitializeOutputSurface() { return true; }
+
+bool FakeProxy::InitializeRenderer() { return true; }
+
+bool FakeProxy::RecreateOutputSurface() { return true; }
const RendererCapabilities& FakeProxy::GetRendererCapabilities() const {
return capabilities_;