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

Unified Diff: content/browser/compositor/software_browser_compositor_output_surface.h

Issue 2443003004: cc: Make OutputSurface::BindToClient pure virtual and not return bool (Closed)
Patch Set: bindtoclient-pure-virtual: rebase Created 4 years, 2 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: content/browser/compositor/software_browser_compositor_output_surface.h
diff --git a/content/browser/compositor/software_browser_compositor_output_surface.h b/content/browser/compositor/software_browser_compositor_output_surface.h
index 0bb5da3e71630d4453a6afa3e2c858ab3114f1ef..7fc5a6b109245b6debc85a6a0380b9844cb6bf90 100644
--- a/content/browser/compositor/software_browser_compositor_output_surface.h
+++ b/content/browser/compositor/software_browser_compositor_output_surface.h
@@ -33,6 +33,7 @@ class CONTENT_EXPORT SoftwareBrowserCompositorOutputSurface
~SoftwareBrowserCompositorOutputSurface() override;
// OutputSurface implementation.
+ void BindToClient(cc::OutputSurfaceClient* client) override;
void EnsureBackbuffer() override;
void DiscardBackbuffer() override;
void BindFramebuffer() override;
@@ -54,6 +55,7 @@ class CONTENT_EXPORT SoftwareBrowserCompositorOutputSurface
void SwapBuffersCallback();
+ cc::OutputSurfaceClient* client_ = nullptr;
scoped_refptr<base::SingleThreadTaskRunner> task_runner_;
base::WeakPtrFactory<SoftwareBrowserCompositorOutputSurface> weak_factory_;

Powered by Google App Engine
This is Rietveld 408576698