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

Unified Diff: mojo/services/surfaces/surfaces_impl.cc

Issue 480723002: Revert of Mojo multiple command buffer support and sample (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 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: mojo/services/surfaces/surfaces_impl.cc
diff --git a/mojo/services/surfaces/surfaces_impl.cc b/mojo/services/surfaces/surfaces_impl.cc
index c71942c6bcea6b18b3d74fbb647849691580d54d..b05e16a0f3f2f8311b0e0ef5f96a9b953961a7ec 100644
--- a/mojo/services/surfaces/surfaces_impl.cc
+++ b/mojo/services/surfaces/surfaces_impl.cc
@@ -44,9 +44,7 @@
cc::SurfaceId cc_id = id.To<cc::SurfaceId>();
if (cc::SurfaceIdAllocator::NamespaceForId(cc_id) != id_namespace_) {
// Bad message, do something bad to the caller?
- LOG(FATAL) << "Received frame for id " << cc_id.id << " namespace "
- << cc::SurfaceIdAllocator::NamespaceForId(cc_id)
- << " should be namespace " << id_namespace_;
+ NOTREACHED();
return;
}
factory_.SubmitFrame(id.To<cc::SurfaceId>(), mojo::ConvertTo(frame_ptr));
@@ -71,9 +69,7 @@
cc::SurfaceId cc_id = id.To<cc::SurfaceId>();
if (cc::SurfaceIdAllocator::NamespaceForId(cc_id) != id_namespace_) {
// Bad message, do something bad to the caller?
- LOG(FATAL) << "Received request for id " << cc_id.id << " namespace "
- << cc::SurfaceIdAllocator::NamespaceForId(cc_id)
- << " should be namespace " << id_namespace_;
+ NOTREACHED();
return;
}
if (!display_) {
« no previous file with comments | « mojo/services/public/interfaces/native_viewport/native_viewport.mojom ('k') | mojo/services/view_manager/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698