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

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)
@@ -163,7 +163,8 @@
return;
gfx::Size scroll_offset = document.frame()->scrollOffset();
- if (scroll_offset != last_scroll_offset_) {
+ if (scroll_offset != last_scroll_offset_ &&
+ notification != WebKit::WebAccessibilityNotificationLayoutComplete) {
// Make sure the browser is always aware of the scroll position of
// the root document element by posting a generic notification that
// will update it.
« 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