| 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 abe1920a61b5281abfb28d33ecd5d54b5904d720..62554c72d2e7febc885ec3f6a263c32b950dafb7 100644
|
| --- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp
|
| @@ -368,7 +368,7 @@ TEST_F(WebPluginContainerTest, GestureLongPressReachesPlugin)
|
| EXPECT_EQ(WebInputEvent::Undefined, testPlugin->getLastInputEventType());
|
|
|
| // Next, send an event that does hit the plugin, and verify it does receive it.
|
| - WebRect rect = pluginContainerOneElement.boundsInViewportSpace();
|
| + WebRect rect = pluginContainerOneElement.boundsInViewport();
|
| event.x = rect.x + rect.width / 2;
|
| event.y = rect.y + rect.height / 2;
|
|
|
| @@ -395,7 +395,7 @@ TEST_F(WebPluginContainerTest, IsRectTopmostTest)
|
| toWebPluginContainerImpl(getWebPluginContainer(webView, WebString::fromUTF8("translated-plugin")));
|
| pluginContainerImpl->setFrameRect(IntRect(0, 0, 300, 300));
|
|
|
| - WebRect rect = pluginContainerImpl->element().boundsInViewportSpace();
|
| + WebRect rect = pluginContainerImpl->element().boundsInViewport();
|
| EXPECT_TRUE(pluginContainerImpl->isRectTopmost(rect));
|
|
|
| // Cause the plugin's frame to be detached.
|
|
|