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

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: works Created 7 years, 9 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
« cc/output_surface.h ('K') | « cc/test/fake_output_surface.h ('k') | no next file » | 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 0b9a6d3dd98d3fd65febf22d8343cfaf078bed9d..b99873dbc84f073318d56e5c2d6aa3c3a7f3e1a5 100644
--- a/cc/test/fake_output_surface.cc
+++ b/cc/test/fake_output_surface.cc
@@ -22,15 +22,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_);
« cc/output_surface.h ('K') | « cc/test/fake_output_surface.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698