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

Unified Diff: cc/test/fake_output_surface.cc

Issue 12545018: Move context-related callbacks into OutputSurface (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unit test Created 7 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_output_surface.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_output_surface.cc
diff --git a/cc/test/fake_output_surface.cc b/cc/test/fake_output_surface.cc
index 6369f61ec6740c4e7bb0c9d53617e5443dadd926..2fe4b5a6eab857937fc9dcbae777ff6f18321b5e 100644
--- a/cc/test/fake_output_surface.cc
+++ b/cc/test/fake_output_surface.cc
@@ -25,15 +25,6 @@ FakeOutputSurface::FakeOutputSurface(
FakeOutputSurface::~FakeOutputSurface() {}
-bool FakeOutputSurface::BindToClient(
- cc::OutputSurfaceClient* client) {
- DCHECK(client);
- client_ = client;
- if (!context3d_)
- return true;
- return context3d_->makeContextCurrent();
-}
-
void FakeOutputSurface::SendFrameToParentCompositor(
CompositorFrame* frame) {
frame->AssignTo(&last_sent_frame_);
« no previous file with comments | « cc/test/fake_output_surface.h ('k') | cc/test/pixel_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698