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

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

Issue 2521543003: Add stream operator for SurfaceId/FrameSinkId/LocalFrameId. (Closed)
Patch Set: Add another missing include. Created 4 years, 1 month 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/public/cpp/window_tree_client.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/frame_generator.cc
diff --git a/services/ui/ws/frame_generator.cc b/services/ui/ws/frame_generator.cc
index 77b9b35bd4a93fd89a8fba68ee0113dd4f0d247b..7a9a264f5d72b8601933ecba1309dd483953676b 100644
--- a/services/ui/ws/frame_generator.cc
+++ b/services/ui/ws/frame_generator.cc
@@ -99,10 +99,10 @@ void FrameGenerator::OnSurfaceCreated(const cc::SurfaceId& surface_id,
}
SurfaceReference& ref = iter->second;
- DCHECK(surface_id.frame_sink_id() == ref.child_id.frame_sink_id());
+ DCHECK_EQ(surface_id.frame_sink_id(), ref.child_id.frame_sink_id());
// This shouldn't be called multiple times for the same SurfaceId.
- DCHECK(surface_id.local_frame_id() != ref.child_id.local_frame_id());
+ DCHECK_NE(surface_id.local_frame_id(), ref.child_id.local_frame_id());
// Add a reference from parent to new surface first.
GetDisplayCompositor()->AddSurfaceReference(ref.parent_id, surface_id);
« no previous file with comments | « services/ui/public/cpp/window_tree_client.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698