Index: chrome/browser/extensions/app_notify_channel_setup.cc |
diff --git a/chrome/browser/extensions/app_notify_channel_setup.cc b/chrome/browser/extensions/app_notify_channel_setup.cc |
index f3200ba3000e6366f0f45be820400dff00fec14c..bdce1d591d2b5750d09c28d92a3ed41c9b33b8f7 100644 |
--- a/chrome/browser/extensions/app_notify_channel_setup.cc |
+++ b/chrome/browser/extensions/app_notify_channel_setup.cc |
@@ -402,8 +402,7 @@ std::string AppNotifyChannelSetup::MakeAuthorizationHeader( |
// static |
bool AppNotifyChannelSetup::ParseCWSChannelServiceResponse( |
const std::string& data, std::string* result) { |
- base::JSONReader reader; |
- scoped_ptr<base::Value> value(reader.Read(data, false)); |
+ scoped_ptr<base::Value> value(base::JSONReader::Read(data)); |
if (!value.get() || value->GetType() != base::Value::TYPE_DICTIONARY) |
return false; |