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

Unified Diff: content/browser/web_contents/web_contents_impl.cc

Issue 2510793002: Use actual value of display scale factor from GetMonitorScaleFactor().
Patch Set: Created 4 years, 1 month 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 | ui/aura/window_tree_host.cc » ('j') | ui/display/win/screen_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/web_contents/web_contents_impl.cc
diff --git a/content/browser/web_contents/web_contents_impl.cc b/content/browser/web_contents/web_contents_impl.cc
index 367951acc517b810c354a23f9e2958c869927969..ca1f2aa9b9234c85a0af07ef53e23f171f3dfa26 100644
--- a/content/browser/web_contents/web_contents_impl.cc
+++ b/content/browser/web_contents/web_contents_impl.cc
@@ -1021,6 +1021,8 @@ base::Closure WebContentsImpl::AddBindingSet(
}
void WebContentsImpl::UpdateDeviceScaleFactor(double device_scale_factor) {
+ LOG(ERROR) << "WebContentsImpl::UpdateDeviceScaleFactor("
+ << device_scale_factor << ")";
SendPageMessage(
new PageMsg_SetDeviceScaleFactor(MSG_ROUTING_NONE, device_scale_factor));
}
« no previous file with comments | « no previous file | ui/aura/window_tree_host.cc » ('j') | ui/display/win/screen_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698