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

Unified Diff: chrome/browser/background/background_contents_service.cc

Issue 10834004: Correct const accessors in base/values.(h|cc) (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: One more, Windows-only Created 8 years, 5 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: chrome/browser/background/background_contents_service.cc
diff --git a/chrome/browser/background/background_contents_service.cc b/chrome/browser/background/background_contents_service.cc
index 7f20390d3c93cd05f54a6306cdb37d3df3e2311f..cb07a5f6dd0cd50a2cd04f42a5e75aa7f6d43a19 100644
--- a/chrome/browser/background/background_contents_service.cc
+++ b/chrome/browser/background/background_contents_service.cc
@@ -431,7 +431,7 @@ void BackgroundContentsService::LoadBackgroundContentsFromDictionary(
ExtensionService* extensions_service = profile->GetExtensionService();
DCHECK(extensions_service);
- DictionaryValue* dict;
+ const DictionaryValue* dict;
if (!contents->GetDictionaryWithoutPathExpansion(extension_id, &dict) ||
dict == NULL)
return;

Powered by Google App Engine
This is Rietveld 408576698