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

Unified Diff: webkit/browser/blob/blob_storage_controller.cc

Issue 17948002: Update Linux to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 6 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
Index: webkit/browser/blob/blob_storage_controller.cc
diff --git a/webkit/browser/blob/blob_storage_controller.cc b/webkit/browser/blob/blob_storage_controller.cc
index 5c0fe15ed4a847f7fc3145ef0832a75288b28a89..48bf8314f7e0d3c493d644df68284f3c1a0a2cae 100644
--- a/webkit/browser/blob/blob_storage_controller.cc
+++ b/webkit/browser/blob/blob_storage_controller.cc
@@ -173,7 +173,7 @@ bool BlobStorageController::RemoveFromMapHelper(
BlobData* BlobStorageController::GetBlobDataFromUrl(const GURL& url) {
BlobMap::iterator found = blob_map_.find(
BlobUrlHasRef(url) ? ClearBlobUrlRef(url).spec() : url.spec());
- return (found != blob_map_.end()) ? found->second : NULL;
+ return (found != blob_map_.end()) ? found->second.get() : NULL;
}
void BlobStorageController::AppendStorageItems(
« no previous file with comments | « webkit/browser/appcache/appcache_url_request_job.cc ('k') | webkit/browser/fileapi/async_file_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698