Index: Source/web/tests/WebInputEventFactoryTestGtk.cpp |
diff --git a/Source/web/tests/WebInputEventFactoryTestGtk.cpp b/Source/web/tests/WebInputEventFactoryTestGtk.cpp |
index 5093ca14120428f883a507021dfbca33b5328a74..51a884c23d616b89820bcb88b03add1d812626b3 100644 |
--- a/Source/web/tests/WebInputEventFactoryTestGtk.cpp |
+++ b/Source/web/tests/WebInputEventFactoryTestGtk.cpp |
@@ -194,7 +194,7 @@ TEST(WebInputEventFactoryTest, NumPadConversion) |
// Round-trip through the WebCore KeyboardEvent class. |
WebKit::PlatformKeyboardEventBuilder platformBuilder(webEvent); |
RefPtr<WebCore::KeyboardEvent> keypress = WebCore::KeyboardEvent::create(platformBuilder, 0); |
- EXPECT_TRUE(keypress->location() == WebCore::KeyboardEvent::DOMKeyLocationNumpad); |
+ EXPECT_TRUE(keypress->location() == WebCore::KeyboardEvent::DOM_KEY_LOCATION_NUMPAD); |
WebKit::WebKeyboardEventBuilder builder(*keypress); |
EXPECT_TRUE(builder.modifiers & WebInputEvent::IsKeyPad); |