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

Unified Diff: content/browser/accessibility/accessibility_event_recorder_win.cc

Issue 2864523002: Rename ScopedComPtr::QueryInterface to ScopedComPtr::CopyTo (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
Index: content/browser/accessibility/accessibility_event_recorder_win.cc
diff --git a/content/browser/accessibility/accessibility_event_recorder_win.cc b/content/browser/accessibility/accessibility_event_recorder_win.cc
index 32fd6ae1f6651fae3f05a07a424d88beea607103..7d435d77c1ef1b88dd0a09abaa52fee00ce99c35 100644
--- a/content/browser/accessibility/accessibility_event_recorder_win.cc
+++ b/content/browser/accessibility/accessibility_event_recorder_win.cc
@@ -187,7 +187,7 @@ void AccessibilityEventRecorderWin::OnWinEventHook(
}
base::win::ScopedComPtr<IAccessible> iaccessible;
- hr = dispatch.QueryInterface(iaccessible.Receive());
+ hr = dispatch.CopyTo(iaccessible.Receive());
if (!SUCCEEDED(hr)) {
VLOG(1) << "Ignoring result " << hr << " from QueryInterface";
return;
« no previous file with comments | « chrome/browser/win/jumplist_updater.cc ('k') | content/browser/accessibility/accessibility_tree_formatter_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698