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

Unified Diff: ppapi/proxy/uma_private_resource.cc

Issue 467303005: Remove implicit conversions from scoped_refptr to T* in ppapi/ (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: ppapi/proxy/uma_private_resource.cc
diff --git a/ppapi/proxy/uma_private_resource.cc b/ppapi/proxy/uma_private_resource.cc
index 2932e6cbe2657602c903c256d1481bf0cd7dfe1c..ba0ccdd494db287186854e093a35b8723174b759 100644
--- a/ppapi/proxy/uma_private_resource.cc
+++ b/ppapi/proxy/uma_private_resource.cc
@@ -87,7 +87,7 @@ void UMAPrivateResource::HistogramEnumeration(
int32_t UMAPrivateResource::IsCrashReportingEnabled(
PP_Instance instance,
scoped_refptr<TrackedCallback> callback) {
- if (pending_callback_ != NULL)
+ if (pending_callback_.get() != NULL)
return PP_ERROR_INPROGRESS;
pending_callback_ = callback;
Call<PpapiPluginMsg_UMA_IsCrashReportingEnabledReply>(

Powered by Google App Engine
This is Rietveld 408576698