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

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

Issue 7831028: Compute pageScaleFactor on page so that fixed layout page fits width of window. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed unnecsssary changes in build/common.gypi Created 8 years, 11 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 b13c72dd4e4baba6a94a101d3beedfb436269312..71bb892d8225bd1d79dfbf5b31c7e8c7b0628129 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura.cc
@@ -917,4 +917,6 @@ void RenderWidgetHostView::GetDefaultScreenInfo(
// TODO(derat): Don't hardcode this?
results->depth = 24;
results->depthPerComponent = 8;
+ results->verticalDPI = 96;
+ results->horizontalDPI = 96;
}

Powered by Google App Engine
This is Rietveld 408576698