Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2950)

Unified Diff: cc/test/fake_output_surface_client.cc

Issue 286953008: cc: Allow DeferredInitialize to use DelegatingRenderer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: No call to self constructor in initializer Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_++;
}

Powered by Google App Engine
This is Rietveld 408576698