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

Unified Diff: Source/web/ChromeClientImpl.cpp

Issue 177553002: Use V8RecursionScope::MicrotaskSuppression at ChromeClinetImpl::postAccessibilityNotification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/ChromeClientImpl.cpp
diff --git a/Source/web/ChromeClientImpl.cpp b/Source/web/ChromeClientImpl.cpp
index f28aec86e7e712dbeb3bc4b9686c734b380ae56e..a64dd4e579ba5c7886c7b225486ed65906f572a9 100644
--- a/Source/web/ChromeClientImpl.cpp
+++ b/Source/web/ChromeClientImpl.cpp
@@ -67,6 +67,7 @@
#include "WebViewImpl.h"
#include "WebWindowFeatures.h"
#include "bindings/v8/ScriptController.h"
+#include "bindings/v8/V8RecursionScope.h"
#include "core/accessibility/AXObject.h"
#include "core/accessibility/AXObjectCache.h"
#include "core/dom/Document.h"
@@ -678,6 +679,8 @@ void ChromeClientImpl::formStateDidChange(const Node* node)
void ChromeClientImpl::postAccessibilityNotification(AXObject* obj, AXObjectCache::AXNotification notification)
{
+ V8RecursionScope::MicrotaskSuppression scope;
haraken 2014/02/24 11:06:09 hmm, this looks fragile. We don't want to add Micr
+
// Alert assistive technology about the accessibility object notification.
if (!obj)
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698