Index: chrome/utility/extensions/extensions_handler.cc |
diff --git a/chrome/utility/extensions/extensions_handler.cc b/chrome/utility/extensions/extensions_handler.cc |
index 6b5beeeb107eba77a0006149fded8af5959af5a0..859e844450245fab60061bc30c7c1bf8ec58100d 100644 |
--- a/chrome/utility/extensions/extensions_handler.cc |
+++ b/chrome/utility/extensions/extensions_handler.cc |
@@ -129,7 +129,7 @@ void ExtensionsHandler::OnParseMediaMetadata(const std::string& mime_type, |
int64_t total_size, |
bool get_attached_images) { |
// Only one IPCDataSource may be created and added to the list of handlers. |
- scoped_ptr<metadata::IPCDataSource> source( |
+ std::unique_ptr<metadata::IPCDataSource> source( |
new metadata::IPCDataSource(total_size)); |
metadata::MediaMetadataParser* parser = new metadata::MediaMetadataParser( |
source.get(), mime_type, get_attached_images); |
@@ -196,7 +196,7 @@ void ExtensionsHandler::OnIndexPicasaAlbumsContents( |
#if defined(OS_WIN) |
void ExtensionsHandler::OnGetWiFiCredentials(const std::string& network_guid) { |
- scoped_ptr<wifi::WiFiService> wifi_service(wifi::WiFiService::Create()); |
+ std::unique_ptr<wifi::WiFiService> wifi_service(wifi::WiFiService::Create()); |
wifi_service->Initialize(NULL); |
std::string key_data; |