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

Unified Diff: ppapi/proxy/video_destination_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/url_loader_resource.cc ('k') | ppapi/proxy/video_source_resource.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/proxy/video_destination_resource.cc
diff --git a/ppapi/proxy/video_destination_resource.cc b/ppapi/proxy/video_destination_resource.cc
index b08d0635ba3e405f791fcacefbb7a4f37de3e177..5175705160e69b83d902279c43d94fa899ad5901 100644
--- a/ppapi/proxy/video_destination_resource.cc
+++ b/ppapi/proxy/video_destination_resource.cc
@@ -47,7 +47,7 @@ int32_t VideoDestinationResource::Open(
scoped_refptr<StringVar> stream_url_var = StringVar::FromPPVar(stream_url);
const uint32_t kMaxStreamIdSizeInBytes = 16384;
- if (!stream_url_var ||
+ if (!stream_url_var.get() ||
stream_url_var->value().size() > kMaxStreamIdSizeInBytes)
return PP_ERROR_BADARGUMENT;
Call<PpapiPluginMsg_VideoDestination_OpenReply>(RENDERER,
« no previous file with comments | « ppapi/proxy/url_loader_resource.cc ('k') | ppapi/proxy/video_source_resource.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698