summaryrefslogtreecommitdiffstats
path: root/content
diff options
context:
space:
mode:
authoroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 17:32:10 +0000
committeroshima@chromium.org <oshima@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-10-19 17:32:10 +0000
commit0bcf611f80c70899b74135ec651c8d98a7574519 (patch)
tree84e1b5683f7aed8e427141dbfc1d6cf10fe1fdb7 /content
parent3a78d3e7875f6bef07bcf3c61ba1b5a8c5e65c15 (diff)
downloadchromium_src-0bcf611f80c70899b74135ec651c8d98a7574519.zip
chromium_src-0bcf611f80c70899b74135ec651c8d98a7574519.tar.gz
chromium_src-0bcf611f80c70899b74135ec651c8d98a7574519.tar.bz2
Revert r162691 "Fix for out-of-sync scale factor issue"
This CL didn't work on 23. I'll create another one that will work on 23. TBR=oshima@chromium.org BUG=155201 TEST=none Review URL: https://codereview.chromium.org/11238010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@163015 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r--content/browser/renderer_host/render_widget_host_impl.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index 1b2a20c..d6f200f 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -1109,13 +1109,6 @@ void RenderWidgetHostImpl::NotifyScreenInfoChanged() {
}
void RenderWidgetHostImpl::SetDeviceScaleFactor(float scale) {
-#if defined(USE_AURA)
- // Send secreen info as well because JavaScript API |window.open|
- // uses screen info to determine the scale factor (crbug.com/155201).
- // TODO(oshima|thakis): Consolidate SetDeviceScaleFactor and
- // ScreenInfoChanged. crbug.com/155213.
- NotifyScreenInfoChanged();
-#endif
Send(new ViewMsg_SetDeviceScaleFactor(GetRoutingID(), scale));
}