| Index: Source/bindings/v8/ScriptPromise.h
|
| diff --git a/Source/bindings/v8/ScriptPromise.h b/Source/bindings/v8/ScriptPromise.h
|
| index b1f3781cde698650365fefe46b6527adbb7bff12..cfcf2bca270b50d1570c5585bf789c9266b401f0 100644
|
| --- a/Source/bindings/v8/ScriptPromise.h
|
| +++ b/Source/bindings/v8/ScriptPromise.h
|
| @@ -93,6 +93,16 @@ public:
|
| m_promise.clear();
|
| }
|
|
|
| + bool operator==(const ScriptPromise& value) const
|
| + {
|
| + return m_promise == value.m_promise;
|
| + }
|
| +
|
| + bool operator!=(const ScriptPromise& value) const
|
| + {
|
| + return !operator==(value);
|
| + }
|
| +
|
| // Constructs and returns a ScriptPromise from |value|.
|
| // if |value| is not a Promise object, returns a Promise object
|
| // resolved with |value|.
|
|
|