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

Unified Diff: chrome/renderer/render_view.cc

Issue 626014: AccExplorer shouldn't crash when pointed at chromium.... (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: '' Created 10 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 | « chrome/browser/browser_accessibility.cc ('k') | webkit/glue/webaccessibility.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_view.cc
===================================================================
--- chrome/renderer/render_view.cc (revision 38856)
+++ chrome/renderer/render_view.cc (working copy)
@@ -1251,8 +1251,8 @@
#if defined(OS_WIN)
if (accessibility_.get()) {
- // Clear accessibility info cache.
- accessibility_->clear();
+ // Remove accessibility info cache.
+ accessibility_.reset();
}
#else
// TODO(port): accessibility not yet implemented. See http://crbug.com/8288.
@@ -3555,9 +3555,10 @@
accessibility_->initialize(webview());
}
- webkit_glue::WebAccessibility::GetAccObjInfo(accessibility_.get(),
- in_params,
- out_params);
+ out_params->return_code =
+ webkit_glue::WebAccessibility::GetAccObjInfo(accessibility_.get(),
+ in_params,
+ out_params);
#else // defined(OS_WIN)
// TODO(port): accessibility not yet implemented
« no previous file with comments | « chrome/browser/browser_accessibility.cc ('k') | webkit/glue/webaccessibility.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698