| Index: ppapi/proxy/video_source_resource.cc
|
| diff --git a/ppapi/proxy/video_source_resource.cc b/ppapi/proxy/video_source_resource.cc
|
| index 3bce63d866b71e556eae48b1d59d13425f9ee857..0c3b192fb983de754ffe414254036444d38ba489 100644
|
| --- a/ppapi/proxy/video_source_resource.cc
|
| +++ b/ppapi/proxy/video_source_resource.cc
|
| @@ -47,7 +47,7 @@ int32_t VideoSourceResource::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_VideoSource_OpenReply>(RENDERER,
|
|
|