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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 1339803002: Clear page display after navigation if no rendered output arrives (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Made ClearCompositorFrame pure virtual Created 5 years, 3 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_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 1062eaf41577c2f222388e4af621eddb2df9a6e3..b3611d817c0d7f070b47214a81eb7e0d268ddb28 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -1564,6 +1564,11 @@ void RenderWidgetHostViewMac::OnSwapCompositorFrame(
}
}
+void RenderWidgetHostViewMac::ClearCompositorFrame() {
+ if (delegated_frame_host_)
+ delegated_frame_host_->ClearDelegatedFrame();
+}
+
void RenderWidgetHostViewMac::GetScreenInfo(blink::WebScreenInfo* results) {
*results = GetWebScreenInfo(GetNativeView());
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_mac.h ('k') | content/common/content_constants_internal.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698