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

Unified Diff: content/browser/compositor/reflector_impl_unittest.cc

Issue 2352963002: cc: Make most of cc::OutputSurface abstract. (Closed)
Patch Set: outputsurface-cleanup: rebase Created 4 years, 3 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/reflector_impl_unittest.cc
diff --git a/content/browser/compositor/reflector_impl_unittest.cc b/content/browser/compositor/reflector_impl_unittest.cc
index a13c5298cef03214f8e589e6d8624fb3250cdce8..6a32e1501eabeccfef6ad3479024cf6a701cef15 100644
--- a/content/browser/compositor/reflector_impl_unittest.cc
+++ b/content/browser/compositor/reflector_impl_unittest.cc
@@ -90,8 +90,14 @@ class TestOutputSurface : public BrowserCompositorOutputSurface {
void SetFlip(bool flip) { capabilities_.flipped_output_surface = flip; }
+ void EnsureBackbuffer() override {}
+ void DiscardBackbuffer() override {}
+ void BindFramebuffer() override {}
void SwapBuffers(cc::CompositorFrame frame) override {}
uint32_t GetFramebufferCopyTextureFormat() override { return GL_RGB; }
+ bool IsDisplayedAsOverlayPlane() const override { return false; }
+ unsigned GetOverlayTextureId() const override { return 0; }
+ bool SurfaceIsSuspendForRecycle() const override { return false; }
void OnReflectorChanged() override {
if (!reflector_) {

Powered by Google App Engine
This is Rietveld 408576698