Index: Source/core/inspector/InspectorInputAgent.cpp |
diff --git a/Source/core/inspector/InspectorInputAgent.cpp b/Source/core/inspector/InspectorInputAgent.cpp |
index 9729cb8af38ee24b89687b94bfa3a4443477c04c..8d2ff7694ee6da00215f9965984481b881f9ad0e 100644 |
--- a/Source/core/inspector/InspectorInputAgent.cpp |
+++ b/Source/core/inspector/InspectorInputAgent.cpp |
@@ -99,7 +99,7 @@ InspectorInputAgent::~InspectorInputAgent() |
{ |
} |
-void InspectorInputAgent::dispatchKeyEvent(ErrorString* error, const String& type, const int* modifiers, const double* timestamp, const String* text, const String* unmodifiedText, const String* keyIdentifier, const int* windowsVirtualKeyCode, const int* nativeVirtualKeyCode, const bool* autoRepeat, const bool* isKeypad, const bool* isSystemKey) |
+void InspectorInputAgent::dispatchKeyEvent(ErrorString* error, const String& type, const int* modifiers, const double* timestamp, const String* text, const String* unmodifiedText, const String* keyIdentifier, const String* code, const int* windowsVirtualKeyCode, const int* nativeVirtualKeyCode, const bool* autoRepeat, const bool* isKeypad, const bool* isSystemKey) |
{ |
PlatformEvent::Type convertedType; |
if (type == "keyDown") |
@@ -120,6 +120,7 @@ void InspectorInputAgent::dispatchKeyEvent(ErrorString* error, const String& typ |
text ? *text : "", |
unmodifiedText ? *unmodifiedText : "", |
keyIdentifier ? *keyIdentifier : "", |
+ code ? *code : "", |
windowsVirtualKeyCode ? *windowsVirtualKeyCode : 0, |
nativeVirtualKeyCode ? *nativeVirtualKeyCode : 0, |
asBool(autoRepeat), |