summaryrefslogtreecommitdiffstats
path: root/chrome/browser/plugin_updater.cc
diff options
context:
space:
mode:
authorviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 15:42:58 +0000
committerviettrungluu@chromium.org <viettrungluu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-03 15:42:58 +0000
commite2e593d0f2786242b85ca4b8cb000f9f875b2db3 (patch)
treef47ce111779fb7bd11ceab480912b56232d171ff /chrome/browser/plugin_updater.cc
parent5713f3265b87f12432a31c4a90e59b5f3f2f8f7e (diff)
downloadchromium_src-e2e593d0f2786242b85ca4b8cb000f9f875b2db3.zip
chromium_src-e2e593d0f2786242b85ca4b8cb000f9f875b2db3.tar.gz
chromium_src-e2e593d0f2786242b85ca4b8cb000f9f875b2db3.tar.bz2
Remove Value/StringValue's ...UTF16() methods in favour of overloading.
Still to do: do the same for DictionaryValue. BUG=none TEST=builds Review URL: http://codereview.chromium.org/3023037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@54751 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/plugin_updater.cc')
-rw-r--r--chrome/browser/plugin_updater.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/plugin_updater.cc b/chrome/browser/plugin_updater.cc
index 0691bac..1664456 100644
--- a/chrome/browser/plugin_updater.cc
+++ b/chrome/browser/plugin_updater.cc
@@ -173,7 +173,7 @@ void DisablePluginGroupsFromPrefs(Profile* profile) {
for (ListValue::const_iterator current(plugin_blacklist->begin());
current != end; ++current) {
string16 plugin_name;
- if ((*current)->GetAsUTF16(&plugin_name)) {
+ if ((*current)->GetAsString(&plugin_name)) {
policy_disabled_plugins.insert(plugin_name);
}
}