Index: chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc |
diff --git a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc |
index 9248cce055095eb6a19ea7a12ce3e806ff6b1118..2ad8370fdcf4178d962cd74a89ba0b98658cc213 100644 |
--- a/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc |
+++ b/chrome/browser/ui/ash/launcher/chrome_launcher_controller_per_app.cc |
@@ -138,8 +138,9 @@ std::string GetPrefForRootWindow(PrefService* pref_service, |
for (base::DictionaryValue::Iterator iter(*shelf_prefs); |
!iter.IsAtEnd(); iter.Advance()) { |
const base::DictionaryValue* display_pref = NULL; |
+ std::string unused_value; |
oshima
2013/02/06 19:11:38
nit: move it to outside of the loop.
Jun Mukai
2013/02/06 19:44:32
Done.
|
if (iter.value().GetAsDictionary(&display_pref) && |
- display_pref->GetString(path, static_cast<std::string*>(NULL))) { |
+ display_pref->GetString(path, &unused_value)) { |
has_per_display_prefs = true; |
break; |
} |