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

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

Issue 2870263002: Rename ScopedComPtr::Receive to ScopedComPtr::GetAddressOf (Closed)
Patch Set: Rebase to 2a6f440 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_tree_formatter_win.cc
diff --git a/content/browser/accessibility/accessibility_tree_formatter_win.cc b/content/browser/accessibility/accessibility_tree_formatter_win.cc
index eeb0914fc29650a9ca8657b309ada5b708f4df27..2eeb2b06b9ad5a0c850eee82c2f6674f0fbef785 100644
--- a/content/browser/accessibility/accessibility_tree_formatter_win.cc
+++ b/content/browser/accessibility/accessibility_tree_formatter_win.cc
@@ -131,10 +131,10 @@ base::string16 GetIA2Hypertext(BrowserAccessibilityWin& ax_object) {
DCHECK_GE(index_of_embed, 0);
base::win::ScopedComPtr<IAccessibleHyperlink> embedded_object;
hr = ax_object.GetCOM()->get_hyperlink(index_of_embed,
- embedded_object.Receive());
+ embedded_object.GetAddressOf());
DCHECK(SUCCEEDED(hr));
base::win::ScopedComPtr<IAccessible2> ax_embed;
- hr = embedded_object.CopyTo(ax_embed.Receive());
+ hr = embedded_object.CopyTo(ax_embed.GetAddressOf());
DCHECK(SUCCEEDED(hr));
hr = ax_embed->get_indexInParent(&child_index);
DCHECK(SUCCEEDED(hr));

Powered by Google App Engine
This is Rietveld 408576698