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

Unified Diff: third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 years, 9 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/web/tests/WebPluginContainerTest.cpp
diff --git a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
index e2dc25c340823d28c4fdb6ffed376a1044bffbf0..edbb12706bc7926cb71c00a5533109fd26ee646e 100644
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
@@ -567,7 +567,7 @@ public:
{
}
- WebLayer* webLayer() const { return m_layer.get(); }
+ WebLayer* getWebLayer() const { return m_layer.get(); }
// WebPlugin
@@ -622,12 +622,12 @@ TEST_F(WebPluginContainerTest, CompositedPluginSPv2)
container->paint(graphicsContext, CullRect(IntRect(10, 10, 400, 300)));
paintController->commitNewDisplayItems();
- const auto& displayItems = paintController->paintArtifact().displayItemList();
+ const auto& displayItems = paintController->paintArtifact().getDisplayItemList();
ASSERT_EQ(1u, displayItems.size());
EXPECT_EQ(element->layoutObject(), &displayItems[0].client());
ASSERT_EQ(DisplayItem::ForeignLayerPlugin, displayItems[0].getType());
const auto& foreignLayerDisplayItem = static_cast<const ForeignLayerDisplayItem&>(displayItems[0]);
- EXPECT_EQ(plugin->webLayer()->ccLayer(), foreignLayerDisplayItem.layer());
+ EXPECT_EQ(plugin->getWebLayer()->ccLayer(), foreignLayerDisplayItem.layer());
}
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/web/tests/VisualViewportTest.cpp ('k') | third_party/WebKit/Source/web/tests/WebURLRequestTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698