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

Unified Diff: third_party/WebKit/Source/core/clipboard/DataObjectTest.cpp

Issue 1738623004: Rename enums/functions that collide in chromium style. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@get-names-4
Patch Set: get-names-5: rebase-and-stuff Created 4 years, 10 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: third_party/WebKit/Source/core/clipboard/DataObjectTest.cpp
diff --git a/third_party/WebKit/Source/core/clipboard/DataObjectTest.cpp b/third_party/WebKit/Source/core/clipboard/DataObjectTest.cpp
index 7944eb3a5c733b78688e44557914273ab48d388d..5d13fad372f41db9dcc4ce542399c4294ad8d59b 100644
--- a/third_party/WebKit/Source/core/clipboard/DataObjectTest.cpp
+++ b/third_party/WebKit/Source/core/clipboard/DataObjectTest.cpp
@@ -36,7 +36,7 @@ TEST_F(DataObjectTest, addItemWithFilenameAndNoTitle)
ASSERT_TRUE(blob->isFile());
File* file = toFile(blob);
EXPECT_TRUE(file->hasBackingFile());
- EXPECT_EQ(File::IsUserVisible, file->userVisibility());
+ EXPECT_EQ(File::IsUserVisible, file->getUserVisibility());
EXPECT_EQ(filePath, file->path());
}
@@ -55,7 +55,7 @@ TEST_F(DataObjectTest, addItemWithFilenameAndTitle)
ASSERT_TRUE(blob->isFile());
File* file = toFile(blob);
EXPECT_TRUE(file->hasBackingFile());
- EXPECT_EQ(File::IsUserVisible, file->userVisibility());
+ EXPECT_EQ(File::IsUserVisible, file->getUserVisibility());
EXPECT_EQ(filePath, file->path());
EXPECT_EQ("name.cpp", file->name());
}

Powered by Google App Engine
This is Rietveld 408576698