| Index: content/renderer/pepper/v8_var_converter.cc
|
| diff --git a/content/renderer/pepper/v8_var_converter.cc b/content/renderer/pepper/v8_var_converter.cc
|
| index 3c3503046a9ab3dbc2dfba51a9fcfbd7e2add162..bb0f0dd45bf9049dac5cc26283e803f823483a20 100644
|
| --- a/content/renderer/pepper/v8_var_converter.cc
|
| +++ b/content/renderer/pepper/v8_var_converter.cc
|
| @@ -285,28 +285,17 @@ bool CanHaveChildren(PP_Var var) {
|
|
|
| } // namespace
|
|
|
| -V8VarConverter::V8VarConverter(PP_Instance instance)
|
| - : instance_(instance),
|
| - object_vars_allowed_(kDisallowObjectVars),
|
| - message_loop_proxy_(base::MessageLoopProxy::current()) {
|
| - resource_converter_.reset(new ResourceConverterImpl(
|
| - instance, RendererPpapiHost::GetForPPInstance(instance)));
|
| -}
|
| -
|
| V8VarConverter::V8VarConverter(PP_Instance instance,
|
| AllowObjectVars object_vars_allowed)
|
| : instance_(instance),
|
| - object_vars_allowed_(object_vars_allowed),
|
| - message_loop_proxy_(base::MessageLoopProxy::current()) {
|
| - resource_converter_.reset(new ResourceConverterImpl(
|
| - instance, RendererPpapiHost::GetForPPInstance(instance)));
|
| + object_vars_allowed_(object_vars_allowed) {
|
| + resource_converter_.reset(new ResourceConverterImpl(instance));
|
| }
|
|
|
| V8VarConverter::V8VarConverter(PP_Instance instance,
|
| scoped_ptr<ResourceConverter> resource_converter)
|
| : instance_(instance),
|
| object_vars_allowed_(kDisallowObjectVars),
|
| - message_loop_proxy_(base::MessageLoopProxy::current()),
|
| resource_converter_(resource_converter.release()) {}
|
|
|
| V8VarConverter::~V8VarConverter() {}
|
|
|