summaryrefslogtreecommitdiffstats
path: root/extensions/renderer/v8_helpers.h
diff options
context:
space:
mode:
authordgozman <dgozman@chromium.org>2016-03-14 15:57:14 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-14 22:58:18 +0000
commit133a1579d2a087acdcdd4e9247062edb0bd1e5a3 (patch)
treecc2a858b2c8fda96c3bec33dbba61d42a56cd4b6 /extensions/renderer/v8_helpers.h
parent42655dd168d884f60c0194e8a74606c68a3e6378 (diff)
downloadchromium_src-133a1579d2a087acdcdd4e9247062edb0bd1e5a3.zip
chromium_src-133a1579d2a087acdcdd4e9247062edb0bd1e5a3.tar.gz
chromium_src-133a1579d2a087acdcdd4e9247062edb0bd1e5a3.tar.bz2
Remove V8RecrusionScope, cleanup call sites.
- blink-side usages migrated to v8::MicrotasksScope; - clients of WebScopedMicrotaskSuppression migrated to v8::MicrotasksScope; - moved Microtask.{h,cpp} to bindings/core/v8; - removed extra wrappers from V8DebuggerClient; - fixed a couple of inspector tests which relied on trace event not emitted from debugger anymore. BUG=585949 Review URL: https://codereview.chromium.org/1769273004 Cr-Commit-Position: refs/heads/master@{#381103}
Diffstat (limited to 'extensions/renderer/v8_helpers.h')
-rw-r--r--extensions/renderer/v8_helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/renderer/v8_helpers.h b/extensions/renderer/v8_helpers.h
index b0dd17a..0a3b2eb 100644
--- a/extensions/renderer/v8_helpers.h
+++ b/extensions/renderer/v8_helpers.h
@@ -9,7 +9,6 @@
#include <string.h>
#include "base/strings/string_number_conversions.h"
-#include "third_party/WebKit/public/web/WebScopedMicrotaskSuppression.h"
#include "v8/include/v8.h"
namespace extensions {
@@ -156,7 +155,8 @@ inline bool CallFunction(v8::Local<v8::Context> context,
int argc,
v8::Local<v8::Value> argv[],
v8::Local<v8::Value>* out) {
- blink::WebScopedMicrotaskSuppression microtasks_scope;
+ v8::MicrotasksScope microtasks_scope(
+ context->GetIsolate(), v8::MicrotasksScope::kDoNotRunMicrotasks);
return function->Call(context, recv, argc, argv).ToLocal(out);
}