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

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

Issue 2449853004: Getting rid of DelegatedFrameData (Closed)
Patch Set: IsEmpty + rebase 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 3d2c22763137a41374d1925d72403090aca398ac..a97db3fd3212e3e1fddec643b12ecdbb8f6d180f 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -907,8 +907,6 @@ void RenderWidgetHostViewAura::OnSwapCompositorFrame(
TRACE_EVENT0("content", "RenderWidgetHostViewAura::OnSwapCompositorFrame");
last_scroll_offset_ = frame.metadata.root_scroll_offset;
- if (!frame.delegated_frame_data)
- return;
cc::Selection<gfx::SelectionBound> selection = frame.metadata.selection;
if (IsUseZoomForDSFEnabled()) {

Powered by Google App Engine
This is Rietveld 408576698