Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(350)

Unified Diff: sky/engine/bindings/core/v8/V8Binding.h

Issue 678003003: Begin to remove heap/* (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | sky/engine/bindings/core/v8/V8GCController.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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*);
« no previous file with comments | « no previous file | sky/engine/bindings/core/v8/V8GCController.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698