| Index: third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h b/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
|
| index 84afc25cc1d201deb72e4e21b86b0898b62a31a3..58114d0fd0d8e5de59c4269697c2a05af9d0b69f 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ScriptValue.h
|
| @@ -120,28 +120,32 @@ class CORE_EXPORT ScriptValue final {
|
|
|
| bool operator!=(const ScriptValue& value) const { return !operator==(value); }
|
|
|
| - // This creates a new local Handle; Don't use this in performance-sensitive places.
|
| + // This creates a new local Handle; Don't use this in performance-sensitive
|
| + // places.
|
| bool isFunction() const {
|
| ASSERT(!isEmpty());
|
| v8::Local<v8::Value> value = v8Value();
|
| return !value.IsEmpty() && value->IsFunction();
|
| }
|
|
|
| - // This creates a new local Handle; Don't use this in performance-sensitive places.
|
| + // This creates a new local Handle; Don't use this in performance-sensitive
|
| + // places.
|
| bool isNull() const {
|
| ASSERT(!isEmpty());
|
| v8::Local<v8::Value> value = v8Value();
|
| return !value.IsEmpty() && value->IsNull();
|
| }
|
|
|
| - // This creates a new local Handle; Don't use this in performance-sensitive places.
|
| + // This creates a new local Handle; Don't use this in performance-sensitive
|
| + // places.
|
| bool isUndefined() const {
|
| ASSERT(!isEmpty());
|
| v8::Local<v8::Value> value = v8Value();
|
| return !value.IsEmpty() && value->IsUndefined();
|
| }
|
|
|
| - // This creates a new local Handle; Don't use this in performance-sensitive places.
|
| + // This creates a new local Handle; Don't use this in performance-sensitive
|
| + // places.
|
| bool isObject() const {
|
| ASSERT(!isEmpty());
|
| v8::Local<v8::Value> value = v8Value();
|
|
|