| Index: chrome/browser/ui/app_list/search/webstore/webstore_provider.cc
|
| diff --git a/chrome/browser/ui/app_list/search/webstore/webstore_provider.cc b/chrome/browser/ui/app_list/search/webstore/webstore_provider.cc
|
| index 72f9f06b49b2a55ab8b42a22fe2a36dae58fda88..63e6556cee3d0b3cfa18bc6ad56b97df0d975cde 100644
|
| --- a/chrome/browser/ui/app_list/search/webstore/webstore_provider.cc
|
| +++ b/chrome/browser/ui/app_list/search/webstore/webstore_provider.cc
|
| @@ -5,6 +5,7 @@
|
| #include "chrome/browser/ui/app_list/search/webstore/webstore_provider.h"
|
|
|
| #include <string>
|
| +#include <utility>
|
|
|
| #include "base/bind.h"
|
| #include "base/callback.h"
|
| @@ -115,7 +116,7 @@ void WebstoreProvider::StartQuery() {
|
| void WebstoreProvider::OnWebstoreSearchFetched(
|
| scoped_ptr<base::DictionaryValue> json) {
|
| ProcessWebstoreSearchResults(json.get());
|
| - cache_->Put(WebserviceCache::WEBSTORE, query_, json.Pass());
|
| + cache_->Put(WebserviceCache::WEBSTORE, query_, std::move(json));
|
| query_pending_ = false;
|
|
|
| if (!webstore_search_fetched_callback_.is_null())
|
| @@ -151,7 +152,7 @@ void WebstoreProvider::ProcessWebstoreSearchResults(
|
| first_result = false;
|
| }
|
|
|
| - Add(result.Pass());
|
| + Add(std::move(result));
|
| }
|
| }
|
|
|
|
|