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

Unified Diff: ui/base/dragdrop/os_exchange_data_win_unittest.cc

Issue 2824773002: Rename ScopedComPtr::get() to ScopedComPtr::Get() (Closed)
Patch Set: Update to 5293966 Created 3 years, 8 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 | « ui/base/dragdrop/os_exchange_data_provider_win.cc ('k') | ui/base/win/shell.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 15ee9635300d72489564c921aae8403c0dd7893a..51eae0a33b55fd001dfad630d49c7ef7215a963d 100644
--- a/ui/base/dragdrop/os_exchange_data_win_unittest.cc
+++ b/ui/base/dragdrop/os_exchange_data_win_unittest.cc
@@ -104,7 +104,7 @@ TEST(OSExchangeDataWinTest, RemoveData) {
medium.pUnkForRelease = NULL;
EXPECT_EQ(S_OK, com_data->SetData(&format_etc, &medium, TRUE));
}
- EXPECT_EQ(1u, static_cast<DataObjectImpl*>(com_data.get())->size());
+ EXPECT_EQ(1u, static_cast<DataObjectImpl*>(com_data.Get())->size());
// Construct a new object with the old object so that we can use our access
// APIs.
@@ -184,7 +184,7 @@ TEST(OSExchangeDataWinTest, EnumerationViaCOM) {
base::win::ScopedComPtr<IDataObject> com_data(
OSExchangeDataProviderWin::GetIDataObject(data));
base::win::ScopedComPtr<IEnumFORMATETC> enumerator;
- EXPECT_EQ(S_OK, com_data.get()->EnumFormatEtc(DATADIR_GET,
+ EXPECT_EQ(S_OK, com_data.Get()->EnumFormatEtc(DATADIR_GET,
enumerator.Receive()));
// Test that we can get one item.
@@ -238,8 +238,8 @@ 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()->Reset());
+ EXPECT_EQ(S_OK, enumerator.Get()->Clone(cloned_enumerator.Receive()));
+ EXPECT_EQ(S_OK, enumerator.Get()->Reset());
{
ULONG retrieved = 0;
« no previous file with comments | « ui/base/dragdrop/os_exchange_data_provider_win.cc ('k') | ui/base/win/shell.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698