Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1996)

Unified Diff: chrome/browser/extensions/api/streams_private/streams_private_api.cc

Issue 13452002: Update manifest file for Quickoffice component extension (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removed transient Created 7 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | chrome/browser/resources/quick_office/OWNERS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/streams_private/streams_private_api.cc
diff --git a/chrome/browser/extensions/api/streams_private/streams_private_api.cc b/chrome/browser/extensions/api/streams_private/streams_private_api.cc
index 1018b72455bd2c632accdd6eb8a66ed9728c4c77..f2d5ae5cdb62a45df58e8befeb0b2b3d1506275c 100644
--- a/chrome/browser/extensions/api/streams_private/streams_private_api.cc
+++ b/chrome/browser/extensions/api/streams_private/streams_private_api.cc
@@ -60,8 +60,8 @@ void StreamsPrivateAPI::ExecuteMimeTypeHandler(
ExtensionSystem::Get(profile_)->event_router()->DispatchEventToExtension(
extension_id, event.Pass());
- streams_[extension_id][stream->GetURL()] =
- make_linked_ptr(stream.release());
+ GURL url = stream->GetURL();
+ streams_[extension_id][url] = make_linked_ptr(stream.release());
}
static base::LazyInstance<ProfileKeyedAPIFactory<StreamsPrivateAPI> >
« no previous file with comments | « no previous file | chrome/browser/resources/quick_office/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698