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

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

Issue 2163953002: rebaseline huge-image-viewport-scale.html (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: mac doesn't use aura, needs an equivalent change Created 4 years, 5 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 0dc3ef091766a161c2af2c3a9f3e4e66f8a37342..c034ef964ae70ae59e0fc96efd666a775deaa46d 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -521,6 +521,14 @@ RenderWidgetHostViewMac::RenderWidgetHostViewMac(RenderWidgetHost* widget,
->GetInputEventRouter()
->AddSurfaceClientIdOwner(GetSurfaceClientId(), this);
}
+
+ RenderViewHost* rvh = RenderViewHost::From(render_widget_host_);
+ if (rvh) {
+ WebPreferences prefs = rvh->GetWebkitPreferences();
+ // TODO(mostynb): actually use prefs. Landing this as a separate CL
+ // first to rebaseline some unreliable layout tests.
+ (void)prefs;
Avi (use Gerrit) 2016/07/20 18:25:36 ignore_result() from base/macros.h?
Mostyn Bramley-Moore 2016/07/20 18:48:38 Done.
+ }
}
RenderWidgetHostViewMac::~RenderWidgetHostViewMac() {

Powered by Google App Engine
This is Rietveld 408576698