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

Unified Diff: cc/trees/layer_tree_host_impl_unittest.cc

Issue 2194013002: cc: Delete the Renderer base class. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dcheck-delegating
Patch Set: delete-renderer-base-class: rebase Created 4 years, 5 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: cc/trees/layer_tree_host_impl_unittest.cc
diff --git a/cc/trees/layer_tree_host_impl_unittest.cc b/cc/trees/layer_tree_host_impl_unittest.cc
index f624c23a18a4b6c34c85d57de79546732422f533..02fcb0e7fc6905a2faf5847743c807da11696228 100644
--- a/cc/trees/layer_tree_host_impl_unittest.cc
+++ b/cc/trees/layer_tree_host_impl_unittest.cc
@@ -7369,11 +7369,11 @@ TEST_F(LayerTreeHostImplTest, HasTransparentBackground) {
host_impl_->SwapBuffers(frame);
// Cause damage so we would draw something if possible.
- host_impl_->SetFullRootLayerDamage();
+ host_impl_->SetFullViewportDamage();
// Verify no quads are drawn when transparent background is set.
host_impl_->active_tree()->set_has_transparent_background(true);
- host_impl_->SetFullRootLayerDamage();
+ host_impl_->SetFullViewportDamage();
EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame));
{
const auto& root_pass = frame.render_passes.back();

Powered by Google App Engine
This is Rietveld 408576698