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

Unified Diff: chrome/browser/chromeos/preferences.cc

Issue 7583030: Tiny refactoring: change variable name. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/preferences.cc
diff --git a/chrome/browser/chromeos/preferences.cc b/chrome/browser/chromeos/preferences.cc
index ef02d2090ab1127e459b3b33b9f29c3b1c75c554..3314427bd31ef08660cc119f9f68f42541ff7b5c 100644
--- a/chrome/browser/chromeos/preferences.cc
+++ b/chrome/browser/chromeos/preferences.cc
@@ -589,11 +589,10 @@ void Preferences::UpdateVirturalKeyboardPreference(PrefService* prefs) {
for (DictionaryValue::key_iterator iter = virtual_keyboard_pref->begin_keys();
iter != virtual_keyboard_pref->end_keys();
++iter) {
- const std::string& input_method_id = *iter;
- if (!virtual_keyboard_pref->GetString(input_method_id, &url))
+ const std::string& xkb_layout = *iter;
+ if (!virtual_keyboard_pref->GetString(xkb_layout, &url))
continue;
- input_method_manager->SetVirtualKeyboardPreference(
- input_method_id, GURL(url));
+ input_method_manager->SetVirtualKeyboardPreference(xkb_layout, GURL(url));
}
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698