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

Unified Diff: content/renderer/browser_plugin/browser_plugin_manager.cc

Issue 528383003: BrowserPlugin Cleanup: Simplify update device scale factor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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/renderer/browser_plugin/browser_plugin_manager.cc
diff --git a/content/renderer/browser_plugin/browser_plugin_manager.cc b/content/renderer/browser_plugin/browser_plugin_manager.cc
index d15e18821dd6a4c39560a0abd1936dcc7db199b9..12a569e826cb03b605b44689262a8a64440b6585 100644
--- a/content/renderer/browser_plugin/browser_plugin_manager.cc
+++ b/content/renderer/browser_plugin/browser_plugin_manager.cc
@@ -54,10 +54,10 @@ int BrowserPluginManager::GetNextInstanceID() {
return ++current_instance_id_;
}
-void BrowserPluginManager::UpdateDeviceScaleFactor(float device_scale_factor) {
+void BrowserPluginManager::UpdateDeviceScaleFactor() {
IDMap<BrowserPlugin>::iterator iter(&instances_);
while (!iter.IsAtEnd()) {
- iter.GetCurrentValue()->UpdateDeviceScaleFactor(device_scale_factor);
+ iter.GetCurrentValue()->UpdateDeviceScaleFactor();
iter.Advance();
}
}

Powered by Google App Engine
This is Rietveld 408576698