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

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

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: Created 4 years, 2 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/render_widget_host_view_aura.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura.cc b/content/browser/renderer_host/render_widget_host_view_aura.cc
index 39bb0898fc0ff63e29e61ca4613adb95af20edf5..5c2d9f8c52796d57b5669502929f8a75a9529216 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -907,7 +907,8 @@ void RenderWidgetHostViewAura::OnSwapCompositorFrame(
TRACE_EVENT0("content", "RenderWidgetHostViewAura::OnSwapCompositorFrame");
last_scroll_offset_ = frame.metadata.root_scroll_offset;
- if (!frame.delegated_frame_data)
+
+ if (frame.IsEmpty())
piman 2016/10/25 22:57:31 I don't think this test is necessary, or required.
Saman Sami 2016/10/28 16:47:35 Done.
return;
cc::Selection<gfx::SelectionBound> selection = frame.metadata.selection;

Powered by Google App Engine
This is Rietveld 408576698