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

Unified Diff: content/renderer/renderer_accessibility.cc

Issue 8952005: Fix a stack overflow crash in the accessibility code in the renderer. The crash occurs in the (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years 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: content/renderer/renderer_accessibility.cc
===================================================================
--- content/renderer/renderer_accessibility.cc (revision 114547)
+++ content/renderer/renderer_accessibility.cc (working copy)
@@ -170,9 +170,11 @@
// TODO(dmazzoni): remove this as soon as
// https://bugs.webkit.org/show_bug.cgi?id=73460 is fixed.
last_scroll_offset_ = scroll_offset;
- PostAccessibilityNotification(
- document.accessibilityObject(),
- WebKit::WebAccessibilityNotificationLayoutComplete);
+ if (notification != WebKit::WebAccessibilityNotificationLayoutComplete) {
+ PostAccessibilityNotification(
+ document.accessibilityObject(),
+ WebKit::WebAccessibilityNotificationLayoutComplete);
+ }
}
// Add the accessibility object to our cache and ensure it's valid.
« 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