Chromium Code Reviews

Unified Diff: third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp

Issue 1745543002: Revert of Execute end of scope tasks in isolate's MicrotasksCompletedCallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8RecursionScope.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/V8PerIsolateData.cpp
diff --git a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
index 0a2cfcb91e350d51b0e373a3f71707588fbdf081..7baff2fe98124552efbb5b6bb6ed8c9a2e6a1af7 100644
--- a/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
+++ b/third_party/WebKit/Source/bindings/core/v8/V8PerIsolateData.cpp
@@ -48,11 +48,6 @@
RELEASE_ASSERT(!ScriptForbiddenScope::isScriptForbidden());
}
-static void microtasksCompletedCallback(v8::Isolate* isolate)
-{
- V8PerIsolateData::from(isolate)->runEndOfScopeTasks();
-}
-
#if ENABLE(ASSERT)
static void assertV8RecursionScope(v8::Isolate* isolate)
{
@@ -163,7 +158,6 @@
isolate()->AddCallCompletedCallback(&assertV8RecursionScope);
#endif
isolate()->AddBeforeCallEnteredCallback(&beforeCallEnteredCallback);
- isolate()->AddMicrotasksCompletedCallback(&microtasksCompletedCallback);
if (isMainThread())
mainThreadPerIsolateData = this;
isolate()->SetUseCounterCallback(&useCounterCallback);
@@ -224,7 +218,6 @@
isolate->RemoveCallCompletedCallback(&assertV8RecursionScope);
#endif
isolate->RemoveBeforeCallEnteredCallback(&beforeCallEnteredCallback);
- isolate->RemoveMicrotasksCompletedCallback(&microtasksCompletedCallback);
V8PerIsolateData* data = from(isolate);
// Clear everything before exiting the Isolate.
« no previous file with comments | « no previous file | third_party/WebKit/Source/bindings/core/v8/V8RecursionScope.cpp » ('j') | no next file with comments »

Powered by Google App Engine