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

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

Issue 2015373002: Fix webview crash on attempt to scroll. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/frame_host/render_widget_host_view_guest.cc
diff --git a/content/browser/frame_host/render_widget_host_view_guest.cc b/content/browser/frame_host/render_widget_host_view_guest.cc
index 54d6c4c3875d8c0eabd4aa24dbb0081fad74c5fa..534ffa02e79f1583ff680b290cfc5dcae88c72da 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.cc
+++ b/content/browser/frame_host/render_widget_host_view_guest.cc
@@ -74,6 +74,7 @@ RenderWidgetHostViewGuest::RenderWidgetHostViewGuest(
// |guest| is NULL during test.
guest_(guest ? guest->AsWeakPtr() : base::WeakPtr<BrowserPluginGuest>()),
platform_view_(platform_view) {
+ UpdateScreenInfo(GetNativeView());
khmel 2016/05/27 20:49:26 Direct reason of crash current_device_scale_factor
wjmaclean 2016/05/30 14:00:51 This looks fine, though I recall noting recently t
khmel 2016/06/02 00:10:22 It is hard to put it to RWHVCF CTOR because RWHVCF
wjmaclean 2016/06/02 12:17:52 We're going to be removing the NOTREACHED() in RWH
}
RenderWidgetHostViewGuest::~RenderWidgetHostViewGuest() {}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698