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, |