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

Unified Diff: cc/trees/layer_tree_host_unittest.cc

Issue 2096493002: Make cc::CompositorFrames movable [Part 1 of 2] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed Dana's nits Created 4 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/trees/layer_tree_host_impl_unittest.cc ('k') | components/mus/public/cpp/lib/output_surface.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/trees/layer_tree_host_unittest.cc
diff --git a/cc/trees/layer_tree_host_unittest.cc b/cc/trees/layer_tree_host_unittest.cc
index c7b67c07b68ba71492d598902f0ec4691443f9f4..f0ec0f73d9772d1a1999ae55393a9cfb33cf38d3 100644
--- a/cc/trees/layer_tree_host_unittest.cc
+++ b/cc/trees/layer_tree_host_unittest.cc
@@ -6662,8 +6662,9 @@ class LayerTreeHostTestPaintedDeviceScaleFactor : public LayerTreeHostTest {
}
void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, bool result) override {
- EXPECT_EQ(2.0f,
- output_surface()->last_sent_frame().metadata.device_scale_factor);
+ EXPECT_EQ(
+ 2.0f,
+ output_surface()->last_sent_frame()->metadata.device_scale_factor);
EXPECT_EQ(2.0f, host_impl->active_tree()->painted_device_scale_factor());
EXPECT_EQ(1.0f, host_impl->active_tree()->device_scale_factor());
EndTest();
« no previous file with comments | « cc/trees/layer_tree_host_impl_unittest.cc ('k') | components/mus/public/cpp/lib/output_surface.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698