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

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8Binding.h

Issue 2695933003: Remove V8IsolateInterruptor (Closed)
Patch Set: Created 3 years, 10 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 | third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/bindings/core/v8/V8Binding.h
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
index a7c1ceb10d6613b60dca96c174cb529357be92c0..3212b4a945e147807e9b17cd1b2ff87024102aab 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
+++ b/third_party/WebKit/Source/bindings/core/v8/V8Binding.h
@@ -1131,24 +1131,6 @@ CORE_EXPORT void moveEventListenerToNewWrapper(v8::Isolate*,
// http://www.w3.org/TR/WebIDL/#delete
enum DeleteResult { DeleteSuccess, DeleteReject, DeleteUnknownProperty };
-class V8IsolateInterruptor final : public BlinkGCInterruptor {
- public:
- explicit V8IsolateInterruptor(v8::Isolate* isolate) : m_isolate(isolate) {}
-
- static void onInterruptCallback(v8::Isolate* isolate, void* data) {
- V8IsolateInterruptor* interruptor =
- reinterpret_cast<V8IsolateInterruptor*>(data);
- interruptor->onInterrupted();
- }
-
- void requestInterrupt() override {
- m_isolate->RequestInterrupt(&onInterruptCallback, this);
- }
-
- private:
- v8::Isolate* m_isolate;
-};
-
// Freeze a V8 object. The type of the first parameter and the return value is
// intentionally v8::Value so that this function can wrap ToV8().
// If the argument isn't an object, this will crash.
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8Initializer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698