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

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

Issue 2886873002: Only send the FrameSinkId to client when it is necessary (Closed)
Patch Set: Address review issues. Created 3 years, 7 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 | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/aura/mus/mus_context_factory.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/window_tree_unittest.cc
diff --git a/services/ui/ws/window_tree_unittest.cc b/services/ui/ws/window_tree_unittest.cc
index b96494b6e33aff4ceaa9787d099e80db10025050..cff48cc72b922baeffd2da27d6d1a9c41d6c0ed4 100644
--- a/services/ui/ws/window_tree_unittest.cc
+++ b/services/ui/ws/window_tree_unittest.cc
@@ -759,12 +759,10 @@ TEST_F(WindowTreeTest, NewTopLevelWindow) {
// window ID. This is likely bad from a security perspective and should be
// fixed.
EXPECT_EQ(
- base::StringPrintf(
- "TopLevelCreated id=17 FrameSinkId(%d, 0) window_id=%s drawn=true",
- WindowIdToTransportId(embed_window->id()),
- WindowIdToString(
- WindowIdFromTransportId(embed_window_id2_in_child.id))
- .c_str()),
+ base::StringPrintf("TopLevelCreated id=17 window_id=%s drawn=true",
+ WindowIdToString(WindowIdFromTransportId(
+ embed_window_id2_in_child.id))
+ .c_str()),
SingleChangeToDescription(
*child_binding->client()->tracker()->changes()));
child_binding->client()->tracker()->changes()->clear();
« no previous file with comments | « services/ui/ws/window_tree_client_unittest.cc ('k') | ui/aura/mus/mus_context_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698