| Index: chrome/browser/extensions/webstore_inline_installer.cc
|
| diff --git a/chrome/browser/extensions/webstore_inline_installer.cc b/chrome/browser/extensions/webstore_inline_installer.cc
|
| index ef860ec6d3b0a5f6e49f0297970d5a183f17dcbf..b9b13f33cbe141ed29c2a44a1eb44c57a2488b6e 100644
|
| --- a/chrome/browser/extensions/webstore_inline_installer.cc
|
| +++ b/chrome/browser/extensions/webstore_inline_installer.cc
|
| @@ -101,11 +101,11 @@ class SafeWebstoreResponseParser : public UtilityProcessHostClient {
|
|
|
| void OnJSONParseSucceeded(const ListValue& wrapper) {
|
| CHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
|
| - Value* value = NULL;
|
| + const Value* value = NULL;
|
| CHECK(wrapper.Get(0, &value));
|
| if (value->IsType(Value::TYPE_DICTIONARY)) {
|
| parsed_webstore_data_.reset(
|
| - static_cast<DictionaryValue*>(value)->DeepCopy());
|
| + static_cast<const DictionaryValue*>(value)->DeepCopy());
|
| } else {
|
| error_ = kInvalidWebstoreResponseError;
|
| }
|
|
|