Index: cc/test/fake_output_surface_client.cc |
diff --git a/cc/test/fake_output_surface_client.cc b/cc/test/fake_output_surface_client.cc |
index 2033aceec1c57dd3db93667ff7e1ce25cfa5e70e..6fabdf87d8a541532d01bd23dd3563d6f5e198f5 100644 |
--- a/cc/test/fake_output_surface_client.cc |
+++ b/cc/test/fake_output_surface_client.cc |
@@ -2,6 +2,7 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "cc/output/output_surface.h" |
#include "cc/test/fake_output_surface_client.h" |
namespace cc { |
@@ -10,6 +11,11 @@ void FakeOutputSurfaceClient::DeferredInitialize() { |
deferred_initialize_called_ = true; |
} |
+void FakeOutputSurfaceClient::ReleaseGL() { |
+ if (output_surface_) |
+ output_surface_->ReleaseContextProvider(); |
+} |
+ |
void FakeOutputSurfaceClient::BeginFrame(const BeginFrameArgs& args) { |
begin_frame_count_++; |
} |