diff options
author | dgozman <dgozman@chromium.org> | 2016-03-14 15:57:14 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2016-03-14 22:58:18 +0000 |
commit | 133a1579d2a087acdcdd4e9247062edb0bd1e5a3 (patch) | |
tree | cc2a858b2c8fda96c3bec33dbba61d42a56cd4b6 /extensions/renderer/guest_view | |
parent | 42655dd168d884f60c0194e8a74606c68a3e6378 (diff) | |
download | chromium_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/guest_view')
-rw-r--r-- | extensions/renderer/guest_view/extensions_guest_view_container.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/renderer/guest_view/extensions_guest_view_container.cc b/extensions/renderer/guest_view/extensions_guest_view_container.cc index 3fa9882..ffa3580 100644 --- a/extensions/renderer/guest_view/extensions_guest_view_container.cc +++ b/extensions/renderer/guest_view/extensions_guest_view_container.cc @@ -5,7 +5,6 @@ #include "extensions/renderer/guest_view/extensions_guest_view_container.h" #include "content/public/renderer/render_frame.h" -#include "third_party/WebKit/public/web/WebScopedMicrotaskSuppression.h" #include "ui/gfx/geometry/size.h" namespace extensions { @@ -56,7 +55,8 @@ void ExtensionsGuestViewContainer::CallElementResizeCallback( v8::Integer::New(element_resize_isolate_, new_size.height())}; v8::Context::Scope context_scope(context); - blink::WebScopedMicrotaskSuppression suppression; + v8::MicrotasksScope microtasks( + element_resize_isolate_, v8::MicrotasksScope::kDoNotRunMicrotasks); callback->Call(context->Global(), argc, argv); } |