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

Unified Diff: extensions/browser/blob_holder.cc

Issue 250143002: Media Galleries API: Audio/Video attached pictures support. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix linux_chromium_chromeos_rel argument evaluation order bug Created 6 years, 7 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 | « chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/blob_holder.cc
diff --git a/extensions/browser/blob_holder.cc b/extensions/browser/blob_holder.cc
index 5f739531be1926eb6ba17055cd7fbd7e424619bf..f0146cdff07aa3f67b2725f252a0050be9514d09 100644
--- a/extensions/browser/blob_holder.cc
+++ b/extensions/browser/blob_holder.cc
@@ -44,8 +44,8 @@ void BlobHolder::HoldBlobReference(scoped_ptr<content::BlobHandle> blob) {
DCHECK_CURRENTLY_ON(content::BrowserThread::UI);
DCHECK(!ContainsBlobHandle(blob.get()));
- held_blobs_.insert(
- make_pair(blob->GetUUID(), make_linked_ptr(blob.release())));
+ std::string uuid = blob->GetUUID();
+ held_blobs_.insert(make_pair(uuid, make_linked_ptr(blob.release())));
}
BlobHolder::BlobHolder(content::RenderProcessHost* render_process_host)
« no previous file with comments | « chrome/test/data/extensions/api_test/media_galleries/media_metadata/test.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698