| Index: third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
|
| diff --git a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
|
| index 6007ab6ad3ec1f243e9be76683a48401c6ce9f65..92429d1b31bd0fd02e693b7ec71ed471ed0934d7 100644
|
| --- a/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
|
| +++ b/third_party/WebKit/Source/bindings/core/v8/ExceptionState.h
|
| @@ -31,7 +31,6 @@
|
| #ifndef ExceptionState_h
|
| #define ExceptionState_h
|
|
|
| -#include "bindings/core/v8/OnStackObjectChecker.h"
|
| #include "bindings/core/v8/ScopedPersistent.h"
|
| #include "bindings/core/v8/ScriptPromise.h"
|
| #include "bindings/core/v8/V8ThrowException.h"
|
| @@ -48,8 +47,8 @@ class ScriptPromiseResolver;
|
| class ScriptState;
|
|
|
| class CORE_EXPORT ExceptionState {
|
| + STACK_ALLOCATED();
|
| WTF_MAKE_NONCOPYABLE(ExceptionState);
|
| - USING_FAST_MALLOC(ExceptionState);
|
| public:
|
| enum ContextType {
|
| ConstructionContext,
|
| @@ -133,10 +132,6 @@ public:
|
| // Might return nullptr.
|
| v8::Isolate* isolate() const { return m_isolate; }
|
|
|
| -#if ENABLE(ASSERT)
|
| - OnStackObjectChecker& getOnStackObjectChecker() { return m_onStackObjectChecker; }
|
| -#endif
|
| -
|
| protected:
|
| ExceptionCode m_code;
|
| ContextType m_context;
|
| @@ -152,9 +147,6 @@ private:
|
|
|
| ScopedPersistent<v8::Value> m_exception;
|
| v8::Isolate* m_isolate;
|
| -#if ENABLE(ASSERT)
|
| - OnStackObjectChecker m_onStackObjectChecker;
|
| -#endif
|
| };
|
|
|
| // Used if exceptions can/should not be directly thrown.
|
|
|