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 13a9031c29633e7f1bea259f54d53642031a36b6..8cfb070b73fb63e9a7693c92324b93473fae6521 100644 |
--- a/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp |
+++ b/third_party/WebKit/Source/web/tests/WebPluginContainerTest.cpp |
@@ -331,7 +331,7 @@ TEST_F(WebPluginContainerTest, CopyFromContextMenu) |
webView->updateAllLifecyclePhases(); |
runPendingTasks(); |
- auto event = FrameTestHelpers::createMouseEvent(WebMouseEvent::MouseDown, WebMouseEvent::ButtonRight, WebPoint(30, 30), 0); |
+ auto event = FrameTestHelpers::createMouseEvent(WebMouseEvent::MouseDown, WebMouseEvent::Button::Right, WebPoint(30, 30), 0); |
event.clickCount = 1; |
// Make sure the right-click + Copy works in common scenario. |