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

Unified Diff: cc/layers/surface_layer_impl_unittest.cc

Issue 1166983007: Fix SurfaceLayerImpl scale under impl-side painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Windows compile fix OOPS Created 5 years, 6 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/surface_layer_impl.cc ('k') | cc/layers/surface_layer_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/surface_layer_impl_unittest.cc
diff --git a/cc/layers/surface_layer_impl_unittest.cc b/cc/layers/surface_layer_impl_unittest.cc
index 74543a84428e237422672a1fbf377527d0631bf5..39577a315e203bacafeac97652f566c351586a71 100644
--- a/cc/layers/surface_layer_impl_unittest.cc
+++ b/cc/layers/surface_layer_impl_unittest.cc
@@ -23,6 +23,8 @@ TEST(SurfaceLayerImplTest, Occlusion) {
surface_layer_impl->SetDrawsContent(true);
SurfaceId surface_id(9);
surface_layer_impl->SetSurfaceId(surface_id);
+ surface_layer_impl->SetSurfaceScale(1.f);
+ surface_layer_impl->SetSurfaceSize(layer_size);
impl.CalcDrawProps(viewport_size);
« no previous file with comments | « cc/layers/surface_layer_impl.cc ('k') | cc/layers/surface_layer_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698