diff options
Diffstat (limited to 'Source/web/tests/WebInputEventFactoryTestGtk.cpp')
-rw-r--r-- | Source/web/tests/WebInputEventFactoryTestGtk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/web/tests/WebInputEventFactoryTestGtk.cpp b/Source/web/tests/WebInputEventFactoryTestGtk.cpp index 47f8cc83d..51a884c23 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->location() == WebCore::KeyboardEvent::DOM_KEY_LOCATION_NUMPAD); WebKit::WebKeyboardEventBuilder builder(*keypress); EXPECT_TRUE(builder.modifiers & WebInputEvent::IsKeyPad); |