| Index: sky/engine/bindings/core/v8/V8Binding.h
|
| diff --git a/sky/engine/bindings/core/v8/V8Binding.h b/sky/engine/bindings/core/v8/V8Binding.h
|
| index 2e8eda3cff98440ad25e47264dcee43504220e26..bbd141cf847d402d6c35f5e3dae9cf85b76e391b 100644
|
| --- a/sky/engine/bindings/core/v8/V8Binding.h
|
| +++ b/sky/engine/bindings/core/v8/V8Binding.h
|
| @@ -41,7 +41,6 @@
|
| #include "bindings/core/v8/V8StringResource.h"
|
| #include "bindings/core/v8/V8ThrowException.h"
|
| #include "bindings/core/v8/V8ValueCache.h"
|
| -#include "platform/heap/Heap.h"
|
| #include "wtf/GetPtr.h"
|
| #include "wtf/MathExtras.h"
|
| #include "wtf/text/AtomicString.h"
|
| @@ -902,29 +901,6 @@ enum DeleteResult {
|
| DeleteUnknownProperty
|
| };
|
|
|
| -class V8IsolateInterruptor : public ThreadState::Interruptor {
|
| -public:
|
| - explicit V8IsolateInterruptor(v8::Isolate* isolate) : m_isolate(isolate) { }
|
| -
|
| - static void onInterruptCallback(v8::Isolate* isolate, void* data)
|
| - {
|
| - reinterpret_cast<V8IsolateInterruptor*>(data)->onInterrupted();
|
| - }
|
| -
|
| - virtual void requestInterrupt() override
|
| - {
|
| - m_isolate->RequestInterrupt(&onInterruptCallback, this);
|
| - }
|
| -
|
| - virtual void clearInterrupt() override
|
| - {
|
| - m_isolate->ClearInterrupt();
|
| - }
|
| -
|
| -private:
|
| - v8::Isolate* m_isolate;
|
| -};
|
| -
|
| class V8TestingScope {
|
| public:
|
| explicit V8TestingScope(v8::Isolate*);
|
|
|