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

Unified Diff: content/browser/frame_host/render_widget_host_view_child_frame.cc

Issue 2905523003: Revert of Enforce constant size and device scale factor for surfaces (Closed)
Patch Set: 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/frame_host/render_widget_host_view_child_frame.cc
diff --git a/content/browser/frame_host/render_widget_host_view_child_frame.cc b/content/browser/frame_host/render_widget_host_view_child_frame.cc
index 5e9dca9239819183ac3f9ec7c079b918a7e244ee..6ecee9eba60263acbc761953da904d4a9847b72f 100644
--- a/content/browser/frame_host/render_widget_host_view_child_frame.cc
+++ b/content/browser/frame_host/render_widget_host_view_child_frame.cc
@@ -368,9 +368,7 @@
current_surface_size_ = frame.render_pass_list.back()->output_rect.size();
current_surface_scale_factor_ = frame.metadata.device_scale_factor;
- bool result =
- support_->SubmitCompositorFrame(local_surface_id, std::move(frame));
- DCHECK(result);
+ support_->SubmitCompositorFrame(local_surface_id, std::move(frame));
has_frame_ = true;
if (local_surface_id_ != local_surface_id || HasEmbedderChanged()) {
« no previous file with comments | « components/viz/frame_sinks/gpu_root_compositor_frame_sink.cc ('k') | content/browser/renderer_host/delegated_frame_host.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698