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

Unified Diff: ppapi/proxy/url_loader_resource.cc

Issue 15806016: Update ppapi/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « ppapi/proxy/truetype_font_singleton_resource.cc ('k') | ppapi/proxy/video_destination_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/url_loader_resource.cc
diff --git a/ppapi/proxy/url_loader_resource.cc b/ppapi/proxy/url_loader_resource.cc
index 5ee8d950d5646bdc044fb560e19ed25c0151c12f..5bbc9372ff2dbea3af1b098d4a70a2673a93c211 100644
--- a/ppapi/proxy/url_loader_resource.cc
+++ b/ppapi/proxy/url_loader_resource.cc
@@ -325,7 +325,7 @@ void URLLoaderResource::SetDefersLoading(bool defers_loading) {
int32_t URLLoaderResource::ValidateCallback(
scoped_refptr<TrackedCallback> callback) {
- DCHECK(callback);
+ DCHECK(callback.get());
if (TrackedCallback::IsPending(pending_callback_))
return PP_ERROR_INPROGRESS;
return PP_OK;
« no previous file with comments | « ppapi/proxy/truetype_font_singleton_resource.cc ('k') | ppapi/proxy/video_destination_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698