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

Unified Diff: chrome/browser/ui/aura/accessibility/automation_manager_aura.cc

Issue 2893473002: cros: AutomationManagerAura::SendEvent crash fix (Closed)
Patch Set: Created 3 years, 7 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/ui/aura/accessibility/automation_manager_aura.cc
diff --git a/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc b/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
index a687ecb2fff448a30580103ede5ad53d071c17bb..7aa9d6feac5afb37700ff7634d315542f052f3d9 100644
--- a/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
+++ b/chrome/browser/ui/aura/accessibility/automation_manager_aura.cc
@@ -148,7 +148,8 @@ void AutomationManagerAura::SendEvent(BrowserContext* context,
processing_events_ = true;
ExtensionMsg_AccessibilityEventParams params;
- if (!current_tree_serializer_->SerializeChanges(aura_obj, &params.update)) {
+ if (!current_tree_serializer_ ||
dmazzoni 2017/05/17 05:13:01 Thanks for debugging! Looks like SendEvent was bei
Qiang(Joe) Xu 2017/05/17 05:36:17 Done.
+ !current_tree_serializer_->SerializeChanges(aura_obj, &params.update)) {
LOG(ERROR) << "Unable to serialize one accessibility event.";
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