| Index: ui/accessibility/platform/ax_platform_node_win.cc
|
| diff --git a/ui/accessibility/platform/ax_platform_node_win.cc b/ui/accessibility/platform/ax_platform_node_win.cc
|
| index 43dc94dd6c0b9c7bb2b87c1a543f4bef7938e40f..79d9b086f2c98c3cf597e5b827284a9f06c346fe 100644
|
| --- a/ui/accessibility/platform/ax_platform_node_win.cc
|
| +++ b/ui/accessibility/platform/ax_platform_node_win.cc
|
| @@ -183,7 +183,7 @@ AXPlatformNode* AXPlatformNode::FromNativeViewAccessible(
|
| if (!accessible)
|
| return nullptr;
|
| base::win::ScopedComPtr<AXPlatformNodeWin> ax_platform_node;
|
| - accessible->QueryInterface(ax_platform_node.Receive());
|
| + accessible->QueryInterface(ax_platform_node.GetAddressOf());
|
| return ax_platform_node.Get();
|
| }
|
|
|
| @@ -243,9 +243,9 @@ void AXPlatformNodeWin::NotifyAccessibilityEvent(ui::AXEvent event_type) {
|
| int AXPlatformNodeWin::GetIndexInParent() {
|
| base::win::ScopedComPtr<IDispatch> parent_dispatch;
|
| base::win::ScopedComPtr<IAccessible> parent_accessible;
|
| - if (S_OK != get_accParent(parent_dispatch.Receive()))
|
| + if (S_OK != get_accParent(parent_dispatch.GetAddressOf()))
|
| return -1;
|
| - if (S_OK != parent_dispatch.CopyTo(parent_accessible.Receive()))
|
| + if (S_OK != parent_dispatch.CopyTo(parent_accessible.GetAddressOf()))
|
| return -1;
|
|
|
| LONG child_count = 0;
|
| @@ -255,9 +255,9 @@ int AXPlatformNodeWin::GetIndexInParent() {
|
| base::win::ScopedVariant childid_index(index);
|
| base::win::ScopedComPtr<IDispatch> child_dispatch;
|
| base::win::ScopedComPtr<IAccessible> child_accessible;
|
| - if (S_OK == parent_accessible->get_accChild(childid_index,
|
| - child_dispatch.Receive()) &&
|
| - S_OK == child_dispatch.CopyTo(child_accessible.Receive())) {
|
| + if (S_OK == parent_accessible->get_accChild(
|
| + childid_index, child_dispatch.GetAddressOf()) &&
|
| + S_OK == child_dispatch.CopyTo(child_accessible.GetAddressOf())) {
|
| if (child_accessible.Get() == this)
|
| return index - 1;
|
| }
|
|
|