Index: Source/web/tests/WebInputEventFactoryTestGtk.cpp |
diff --git a/Source/web/tests/WebInputEventFactoryTestGtk.cpp b/Source/web/tests/WebInputEventFactoryTestGtk.cpp |
index 47f8cc83dee777c80e1a071907620f7635f34e53..c133a4b6e417fda2d98d2bc121f622b419021c4e 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->keyLocation() == WebCore::KeyboardEvent::DOMKeyLocationNumpad); |
+ EXPECT_TRUE(keypress->keyLocation() == WebCore::KeyboardEvent::DOM_KEY_LOCATION_NUMPAD); |
WebKit::WebKeyboardEventBuilder builder(*keypress); |
EXPECT_TRUE(builder.modifiers & WebInputEvent::IsKeyPad); |