| Index: content/renderer/pepper/v8_var_converter.h
|
| diff --git a/content/renderer/pepper/v8_var_converter.h b/content/renderer/pepper/v8_var_converter.h
|
| index 77687e464f78783ca5d543049e609e65143f0ffb..e6206cd95820497506b08f122a9726da684f924f 100644
|
| --- a/content/renderer/pepper/v8_var_converter.h
|
| +++ b/content/renderer/pepper/v8_var_converter.h
|
| @@ -21,14 +21,8 @@
|
|
|
| class CONTENT_EXPORT V8VarConverter {
|
| public:
|
| - // Whether or not to allow converting object vars. If they are not allowed
|
| - // and they are passed in, conversion will fail.
|
| - enum AllowObjectVars {
|
| - kDisallowObjectVars,
|
| - kAllowObjectVars
|
| - };
|
| explicit V8VarConverter(PP_Instance instance);
|
| - V8VarConverter(PP_Instance instance, AllowObjectVars object_vars_allowed);
|
| + V8VarConverter(PP_Instance instance, bool object_vars_allowed);
|
|
|
| // Constructor for testing.
|
| V8VarConverter(PP_Instance instance,
|
| @@ -82,7 +76,7 @@
|
| PP_Instance instance_;
|
|
|
| // Whether or not to support conversion to PP_VARTYPE_OBJECT.
|
| - AllowObjectVars object_vars_allowed_;
|
| + bool object_vars_allowed_;
|
|
|
| // The message loop to run the callback to |FromV8Value| from.
|
| scoped_refptr<base::MessageLoopProxy> message_loop_proxy_;
|
|
|