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

Unified Diff: webkit/common/blob/scoped_file.cc

Issue 15984016: Call scoped_refptr<T>::get() rather than relying on 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
« no previous file with comments | « webkit/browser/quota/quota_manager_unittest.cc ('k') | webkit/glue/resource_request_body_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/common/blob/scoped_file.cc
diff --git a/webkit/common/blob/scoped_file.cc b/webkit/common/blob/scoped_file.cc
index df1d3d4ba9534f286d35f4ccbf73d405663782cc..56f0743514c4b05d14348c8b2ba54f62d93ebc12 100644
--- a/webkit/common/blob/scoped_file.cc
+++ b/webkit/common/blob/scoped_file.cc
@@ -41,7 +41,7 @@ void ScopedFile::AddScopeOutCallback(
const ScopeOutCallback& callback,
base::TaskRunner* callback_runner) {
if (!callback_runner)
- callback_runner = base::MessageLoopProxy::current();
+ callback_runner = base::MessageLoopProxy::current().get();
scope_out_callbacks_.push_back(std::make_pair(callback, callback_runner));
}
« no previous file with comments | « webkit/browser/quota/quota_manager_unittest.cc ('k') | webkit/glue/resource_request_body_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698