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

Unified Diff: cc/test/fake_output_surface_client.h

Issue 251343002: Remove offscreen compositor contexts. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rm-offscreencontext: include Created 6 years, 8 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
« no previous file with comments | « cc/test/fake_layer_tree_host_client.cc ('k') | cc/test/fake_output_surface_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface_client.h
diff --git a/cc/test/fake_output_surface_client.h b/cc/test/fake_output_surface_client.h
index b572c5e0311b3fb8d8e1226a2c14a8bebfa5c7cf..4f0486a5d69549ce0fef010a1d5d314f5649e71e 100644
--- a/cc/test/fake_output_surface_client.h
+++ b/cc/test/fake_output_surface_client.h
@@ -14,13 +14,11 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient {
public:
FakeOutputSurfaceClient()
: begin_frame_count_(0),
- deferred_initialize_result_(true),
deferred_initialize_called_(false),
did_lose_output_surface_called_(false),
memory_policy_(0) {}
- virtual bool DeferredInitialize(
- scoped_refptr<ContextProvider> offscreen_context_provider) OVERRIDE;
+ virtual void DeferredInitialize() OVERRIDE;
virtual void ReleaseGL() OVERRIDE {}
virtual void SetNeedsRedrawRect(const gfx::Rect& damage_rect) OVERRIDE {}
virtual void BeginFrame(const BeginFrameArgs& args) OVERRIDE;
@@ -38,10 +36,6 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient {
int begin_frame_count() { return begin_frame_count_; }
- void set_deferred_initialize_result(bool result) {
- deferred_initialize_result_ = result;
- }
-
bool deferred_initialize_called() {
return deferred_initialize_called_;
}
@@ -54,7 +48,6 @@ class FakeOutputSurfaceClient : public OutputSurfaceClient {
private:
int begin_frame_count_;
- bool deferred_initialize_result_;
bool deferred_initialize_called_;
bool did_lose_output_surface_called_;
ManagedMemoryPolicy memory_policy_;
« no previous file with comments | « cc/test/fake_layer_tree_host_client.cc ('k') | cc/test/fake_output_surface_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698