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

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

Issue 2612023002: cc: Implement overdraw feedback debugging feature. (Closed)
Patch Set: make sure overdraw_feedback_ is initialized and reset properly Created 3 years, 11 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 c51f38a6602b3733be2be648af4399ce54359732..cbc0ec0094d48f3f72a22ce9bddf97947c574169 100644
--- a/content/browser/compositor/reflector_impl_unittest.cc
+++ b/content/browser/compositor/reflector_impl_unittest.cc
@@ -90,7 +90,8 @@ class TestOutputSurface : public BrowserCompositorOutputSurface {
void Reshape(const gfx::Size& size,
float device_scale_factor,
const gfx::ColorSpace& color_space,
- bool has_alpha) override {}
+ bool has_alpha,
+ bool use_stencil) override {}
void SwapBuffers(cc::OutputSurfaceFrame frame) override {}
uint32_t GetFramebufferCopyTextureFormat() override { return GL_RGB; }
bool IsDisplayedAsOverlayPlane() const override { return false; }
@@ -151,7 +152,8 @@ class ReflectorImplTest : public testing::Test {
compositor_->SetRootLayer(root_layer_.get());
mirroring_layer_.reset(new ui::Layer(ui::LAYER_SOLID_COLOR));
compositor_->root_layer()->Add(mirroring_layer_.get());
- output_surface_->Reshape(kSurfaceSize, 1.f, gfx::ColorSpace(), false);
+ output_surface_->Reshape(kSurfaceSize, 1.f, gfx::ColorSpace(), false,
+ false);
mirroring_layer_->SetBounds(gfx::Rect(kSurfaceSize));
}

Powered by Google App Engine
This is Rietveld 408576698