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

Unified Diff: content/browser/fileapi/fileapi_message_filter.cc

Issue 515093002: FileAPI/sync file system cleanups for scoped_refptr operator T* cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 4 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: content/browser/fileapi/fileapi_message_filter.cc
diff --git a/content/browser/fileapi/fileapi_message_filter.cc b/content/browser/fileapi/fileapi_message_filter.cc
index 09f81c346ef5bf03291b1e3c787a076a606bb98b..1ebac5259e4043d8987fc7ebe5687e33140764ea 100644
--- a/content/browser/fileapi/fileapi_message_filter.cc
+++ b/content/browser/fileapi/fileapi_message_filter.cc
@@ -672,7 +672,7 @@ void FileAPIMessageFilter::OnCloneStream(
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO));
// Abort if there's no Stream instance for |src_url| (source Stream which
// we're going to make |url| point to) in the registry.
- if (!GetStreamForURL(src_url))
+ if (!GetStreamForURL(src_url).get())
return;
stream_context_->registry()->CloneStream(url, src_url);

Powered by Google App Engine
This is Rietveld 408576698