| Index: ppapi/proxy/ppb_var_proxy.cc
|
| diff --git a/ppapi/proxy/ppb_var_proxy.cc b/ppapi/proxy/ppb_var_proxy.cc
|
| index 645e554e8498769fc8d5e827b4dcf91625b061d9..765deef1696a64188e4cfa5ff2295de447196ded 100644
|
| --- a/ppapi/proxy/ppb_var_proxy.cc
|
| +++ b/ppapi/proxy/ppb_var_proxy.cc
|
| @@ -30,7 +30,7 @@ PP_Var VarFromUtf8(PP_Module module, const char* data, uint32_t len) {
|
| }
|
|
|
| const char* VarToUtf8(PP_Var var, uint32_t* len) {
|
| - scoped_refptr<StringVar> str(StringVar::FromPPVar(var));
|
| + StringVar* str = StringVar::FromPPVar(var);
|
| if (str) {
|
| *len = static_cast<uint32_t>(str->value().size());
|
| return str->value().c_str();
|
|
|