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

Unified Diff: services/ui/ws/window_coordinate_conversions_unittest.cc

Issue 2582823002: WIP: Surface Synchronization System
Patch Set: Only create ClientSurfaceEmbedder if window is visible. Trash it otherwise. 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: services/ui/ws/window_coordinate_conversions_unittest.cc
diff --git a/services/ui/ws/window_coordinate_conversions_unittest.cc b/services/ui/ws/window_coordinate_conversions_unittest.cc
index 6cdebff89efd763d66d10fe562959640098c7291..fcb0ff512961faa8ca49bf8dcf0c033bbe674c4f 100644
--- a/services/ui/ws/window_coordinate_conversions_unittest.cc
+++ b/services/ui/ws/window_coordinate_conversions_unittest.cc
@@ -20,9 +20,9 @@ using WindowCoordinateConversionsTest = testing::Test;
TEST_F(WindowCoordinateConversionsTest, ConvertRectBetweenWindows) {
TestServerWindowDelegate d1, d2, d3;
ServerWindow v1(&d1, WindowId()), v2(&d2, WindowId()), v3(&d3, WindowId());
- v1.SetBounds(gfx::Rect(1, 2, 100, 100));
- v2.SetBounds(gfx::Rect(3, 4, 100, 100));
- v3.SetBounds(gfx::Rect(5, 6, 100, 100));
+ v1.SetBounds(gfx::Rect(1, 2, 100, 100), cc::LocalFrameId());
+ v2.SetBounds(gfx::Rect(3, 4, 100, 100), cc::LocalFrameId());
+ v3.SetBounds(gfx::Rect(5, 6, 100, 100), cc::LocalFrameId());
v1.Add(&v2);
v2.Add(&v3);
@@ -36,9 +36,9 @@ TEST_F(WindowCoordinateConversionsTest, ConvertRectBetweenWindows) {
TEST_F(WindowCoordinateConversionsTest, ConvertPointFBetweenWindows) {
TestServerWindowDelegate d1, d2, d3;
ServerWindow v1(&d1, WindowId()), v2(&d2, WindowId()), v3(&d3, WindowId());
- v1.SetBounds(gfx::Rect(1, 2, 100, 100));
- v2.SetBounds(gfx::Rect(3, 4, 100, 100));
- v3.SetBounds(gfx::Rect(5, 6, 100, 100));
+ v1.SetBounds(gfx::Rect(1, 2, 100, 100), cc::LocalFrameId());
+ v2.SetBounds(gfx::Rect(3, 4, 100, 100), cc::LocalFrameId());
+ v3.SetBounds(gfx::Rect(5, 6, 100, 100), cc::LocalFrameId());
v1.Add(&v2);
v2.Add(&v3);

Powered by Google App Engine
This is Rietveld 408576698