Index: ui/base/dragdrop/os_exchange_data_win_unittest.cc |
diff --git a/ui/base/dragdrop/os_exchange_data_win_unittest.cc b/ui/base/dragdrop/os_exchange_data_win_unittest.cc |
index 51eae0a33b55fd001dfad630d49c7ef7215a963d..e7966bf016d2ba17703a4a2d3e59f3ad77b643a3 100644 |
--- a/ui/base/dragdrop/os_exchange_data_win_unittest.cc |
+++ b/ui/base/dragdrop/os_exchange_data_win_unittest.cc |
@@ -185,7 +185,7 @@ TEST(OSExchangeDataWinTest, EnumerationViaCOM) { |
OSExchangeDataProviderWin::GetIDataObject(data)); |
base::win::ScopedComPtr<IEnumFORMATETC> enumerator; |
EXPECT_EQ(S_OK, com_data.Get()->EnumFormatEtc(DATADIR_GET, |
- enumerator.Receive())); |
+ enumerator.GetAddressOf())); |
// Test that we can get one item. |
{ |
@@ -238,7 +238,7 @@ TEST(OSExchangeDataWinTest, EnumerationViaCOM) { |
EXPECT_EQ(S_OK, enumerator->Reset()); |
EXPECT_EQ(S_OK, enumerator->Skip(1)); |
base::win::ScopedComPtr<IEnumFORMATETC> cloned_enumerator; |
- EXPECT_EQ(S_OK, enumerator.Get()->Clone(cloned_enumerator.Receive())); |
+ EXPECT_EQ(S_OK, enumerator.Get()->Clone(cloned_enumerator.GetAddressOf())); |
EXPECT_EQ(S_OK, enumerator.Get()->Reset()); |
{ |