From a037a44582b83b0799d8580ab9c3aa8fd7ab3dd7 Mon Sep 17 00:00:00 2001 From: yurys Date: Wed, 25 Mar 2015 08:32:04 -0700 Subject: [PATCH] Remove v8::Isolate::ClearInterrupt The method was deprecated a while ago: https://crrev.com/87e4bba31eabfd3b12e42b5886dc9da08d2daf13 LOG=Y BUG=YES API=Remove v8::Isolate::ClearInterrupt Review URL: https://codereview.chromium.org/1032623007 Cr-Commit-Position: refs/heads/master@{#27449} --- include/v8.h | 7 ------- src/api.cc | 4 ---- 2 files changed, 11 deletions(-) diff --git a/include/v8.h b/include/v8.h index 6ce2df1160..1b1ab19c74 100644 --- a/include/v8.h +++ b/include/v8.h @@ -5347,13 +5347,6 @@ class V8_EXPORT Isolate { */ void RequestInterrupt(InterruptCallback callback, void* data); - /** - * Clear interrupt request created by |RequestInterrupt|. - * Can be called from another thread without acquiring a |Locker|. - */ - V8_DEPRECATED("There's no way to clear interrupts in flight.", - void ClearInterrupt()); - /** * Request garbage collection in this Isolate. It is only valid to call this * function if --expose_gc was specified. diff --git a/src/api.cc b/src/api.cc index af164514be..ad136c0df9 100644 --- a/src/api.cc +++ b/src/api.cc @@ -6787,10 +6787,6 @@ void Isolate::RequestInterrupt(InterruptCallback callback, void* data) { } -void Isolate::ClearInterrupt() { -} - - void Isolate::RequestGarbageCollectionForTesting(GarbageCollectionType type) { CHECK(i::FLAG_expose_gc); if (type == kMinorGarbageCollection) {