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

Unified Diff: services/ui/ws/cursor_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/cursor_unittest.cc
diff --git a/services/ui/ws/cursor_unittest.cc b/services/ui/ws/cursor_unittest.cc
index bfd4008d0a12da110f5d58b140d6e0bf0e3b0ba6..a6c7fefc63c2f58a7b10c46dfd665a241095646b 100644
--- a/services/ui/ws/cursor_unittest.cc
+++ b/services/ui/ws/cursor_unittest.cc
@@ -77,7 +77,7 @@ class CursorTest : public testing::Test {
return nullptr;
ServerWindow* w = tree->GetWindowByClientId(child_window_id);
- w->SetBounds(gfx::Rect(10, 10, 30, 30));
+ w->SetBounds(gfx::Rect(10, 10, 30, 30), cc::LocalFrameId());
w->SetClientArea(gfx::Insets(10, 10), std::vector<gfx::Rect>());
w->SetVisible(true);
@@ -178,7 +178,7 @@ TEST_F(CursorTest, NonClientToClientByBoundsChange) {
MoveCursorTo(gfx::Point(15, 15));
EXPECT_EQ(mojom::Cursor::EAST_RESIZE, cursor());
- win->SetBounds(gfx::Rect(0, 0, 30, 30));
+ win->SetBounds(gfx::Rect(0, 0, 30, 30), cc::LocalFrameId());
EXPECT_EQ(mojom::Cursor::IBEAM, cursor());
}

Powered by Google App Engine
This is Rietveld 408576698