diff options
Diffstat (limited to 'ppapi/proxy/plugin_var_tracker.cc')
-rw-r--r-- | ppapi/proxy/plugin_var_tracker.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ppapi/proxy/plugin_var_tracker.cc b/ppapi/proxy/plugin_var_tracker.cc index a5f499a..b1bd8a4 100644 --- a/ppapi/proxy/plugin_var_tracker.cc +++ b/ppapi/proxy/plugin_var_tracker.cc @@ -106,8 +106,7 @@ PP_Var PluginVarTracker::GetHostObject(const PP_Var& plugin_object) const { } // Make a var with the host ID. - PP_Var ret; - ret.type = PP_VARTYPE_OBJECT; + PP_Var ret = { PP_VARTYPE_OBJECT }; ret.value.as_id = object->host_var_id(); return ret; } |