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

Unified Diff: content/browser/renderer_host/delegated_frame_host.cc

Issue 2848223003: Enforce constant size and device scale factor for surfaces (Closed)
Patch Set: Address comments 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
Index: content/browser/renderer_host/delegated_frame_host.cc
diff --git a/content/browser/renderer_host/delegated_frame_host.cc b/content/browser/renderer_host/delegated_frame_host.cc
index db6020d1f70c0dd3462cc5dc0f49f01bcda53ea9..6369e837ff247c1ee3c25a5fc6fcd9a5a5c97b07 100644
--- a/content/browser/renderer_host/delegated_frame_host.cc
+++ b/content/browser/renderer_host/delegated_frame_host.cc
@@ -456,7 +456,9 @@ void DelegatedFrameHost::SubmitCompositorFrame(
skipped_latency_info_list_.end());
skipped_latency_info_list_.clear();
- support_->SubmitCompositorFrame(local_surface_id, std::move(frame));
+ bool result =
+ support_->SubmitCompositorFrame(local_surface_id, std::move(frame));
+ DCHECK(result);
if (local_surface_id != local_surface_id_ || !has_frame_) {
// manager must outlive compositors using it.

Powered by Google App Engine
This is Rietveld 408576698