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

Unified Diff: cc/layers/picture_layer_impl_unittest.cc

Issue 1131633003: cc: Use multiple PrepareTiles approaches Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 5 years, 7 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
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/scheduler/draw_result.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/picture_layer_impl_unittest.cc
diff --git a/cc/layers/picture_layer_impl_unittest.cc b/cc/layers/picture_layer_impl_unittest.cc
index c29510f7ec17319b55696d7511b079fccb9d7bbd..01ba652f7739081ef628721520d2321dbd482fc2 100644
--- a/cc/layers/picture_layer_impl_unittest.cc
+++ b/cc/layers/picture_layer_impl_unittest.cc
@@ -2100,7 +2100,7 @@ TEST_F(PictureLayerImplTest, HighResRequiredWhenMissingHighResFlagOn) {
// When high res are required, all tiles in active high res tiling should be
// required for activation.
- host_impl_.SetRequiresHighResToDraw();
+ host_impl_.SetRequiresHighResToDraw(true);
pending_layer_->HighResTiling()->UpdateAllRequiredStateForTesting();
pending_layer_->LowResTiling()->UpdateAllRequiredStateForTesting();
@@ -4744,7 +4744,7 @@ TEST_F(PictureLayerImplTest, ChangeInViewportAllowsTilingUpdates) {
gfx::Rect viewport = gfx::Rect(0, 0, 100, 100);
gfx::Transform transform;
- host_impl_.SetRequiresHighResToDraw();
+ host_impl_.SetRequiresHighResToDraw(true);
// Update tiles.
pending_layer_->draw_properties().visible_content_rect = viewport;
« no previous file with comments | « cc/layers/picture_layer_impl.cc ('k') | cc/scheduler/draw_result.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698