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

Unified Diff: ui/aura/test/mus/test_window_tree.cc

Issue 2780043002: Aura-Mus: Allocate a LocalSurfaceId on size change (Closed)
Patch Set: Cleanup Created 3 years, 9 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 | « ui/aura/test/mus/test_window_tree.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/test/mus/test_window_tree.cc
diff --git a/ui/aura/test/mus/test_window_tree.cc b/ui/aura/test/mus/test_window_tree.cc
index 37d551cf986f7e26181578d4ad122503925f152d..603d61ae3693d9fca56f8dff8bd05cf89f6f4842 100644
--- a/ui/aura/test/mus/test_window_tree.cc
+++ b/ui/aura/test/mus/test_window_tree.cc
@@ -138,6 +138,8 @@ void TestWindowTree::SetWindowBounds(
uint32_t window_id,
const gfx::Rect& bounds,
const base::Optional<cc::LocalSurfaceId>& local_surface_id) {
+ window_id_ = window_id;
+ last_local_surface_id_ = local_surface_id;
OnChangeReceived(change_id, WindowTreeChangeType::BOUNDS);
}
« no previous file with comments | « ui/aura/test/mus/test_window_tree.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698