| Index: content/renderer/v8_value_converter_impl.h
|
| diff --git a/content/renderer/v8_value_converter_impl.h b/content/renderer/v8_value_converter_impl.h
|
| index baf061ab0c47b08b627cfb2e180ff85cb6991eeb..cde780a2147656e99ae61763818d2f02f2c16de0 100644
|
| --- a/content/renderer/v8_value_converter_impl.h
|
| +++ b/content/renderer/v8_value_converter_impl.h
|
| @@ -23,8 +23,8 @@ class CONTENT_EXPORT V8ValueConverterImpl : public content::V8ValueConverter {
|
| V8ValueConverterImpl();
|
|
|
| // V8ValueConverter implementation.
|
| - virtual bool GetUndefinedAllowed() const OVERRIDE;
|
| - virtual void SetUndefinedAllowed(bool val) OVERRIDE;
|
| + virtual UndefinedValueBehavior GetUndefinedValueBehavior() const OVERRIDE;
|
| + virtual void SetUndefinedValueBehavior(UndefinedValueBehavior val) OVERRIDE;
|
| virtual bool GetDateAllowed() const OVERRIDE;
|
| virtual void SetDateAllowed(bool val) OVERRIDE;
|
| virtual bool GetRegexpAllowed() const OVERRIDE;
|
| @@ -58,8 +58,8 @@ class CONTENT_EXPORT V8ValueConverterImpl : public content::V8ValueConverter {
|
| base::Value* FromV8Object(v8::Handle<v8::Object> object,
|
| std::set<int>* unique_set) const;
|
|
|
| - // If true, we will convert undefined JavaScript values to null.
|
| - bool undefined_allowed_;
|
| + // Determines how undefined values should be converted.
|
| + UndefinedValueBehavior undefined_value_behavior_;
|
|
|
| // If true, we will convert Date JavaScript objects to doubles.
|
| bool date_allowed_;
|
|
|