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

Unified Diff: chrome/browser/browser_accessibility_manager_win.cc

Issue 3295005: Fix a chrome browser crash which occurs when launched as part of chrome frame... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 10 years, 4 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: chrome/browser/browser_accessibility_manager_win.cc
===================================================================
--- chrome/browser/browser_accessibility_manager_win.cc (revision 58216)
+++ chrome/browser/browser_accessibility_manager_win.cc (working copy)
@@ -158,6 +158,8 @@
LONG child_id = iter->second;
BrowserAccessibility* old_browser_acc = GetFromChildID(child_id);
+ if (!old_browser_acc)
+ return NULL;
if (old_browser_acc->GetChildCount() == 0 && acc_obj.children.size() == 0) {
// Reinitialize the BrowserAccessibility if there are no children to update.
« 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