Reviewed by Oliver.
authoradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Mar 2007 18:49:33 +0000 (18:49 +0000)
committeradele <adele@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 12 Mar 2007 18:49:33 +0000 (18:49 +0000)
        Add a missing parameter to the constructor.

        * platform/PlatformKeyboardEvent.h:
        * platform/win/KeyEventWin.cpp: (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@20120 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/platform/PlatformKeyboardEvent.h
WebCore/platform/win/KeyEventWin.cpp

index 17e971b..b626c09 100644 (file)
@@ -1,3 +1,12 @@
+2007-03-12  Adele Peterson  <adele@apple.com>
+
+        Reviewed by Oliver.
+
+        Add a missing parameter to the constructor.
+
+        * platform/PlatformKeyboardEvent.h:
+        * platform/win/KeyEventWin.cpp: (WebCore::PlatformKeyboardEvent::PlatformKeyboardEvent):
+
 2007-03-12  Lars Knoll <lars@trolltech.com>
 
         Fix the Qt build. I still get crashes though :/
index 2610404..2fa7add 100644 (file)
@@ -75,7 +75,7 @@ namespace WebCore {
 #endif
 
 #if PLATFORM(WIN)
-        PlatformKeyboardEvent(HWND, WPARAM, LPARAM);
+        PlatformKeyboardEvent(HWND, WPARAM, LPARAM, UChar);
 #endif
 
 #if PLATFORM(GDK)
index a14380e..6b3108f 100644 (file)
@@ -136,7 +136,7 @@ static String keyIdentifierForWindowsKeyCode(short keyCode)
 
 static String singleCharacterString(UChar c) { return String(&c, 1); }
 
-PlatformKeyboardEvent::PlatformKeyboardEvent(HWND hWnd, WPARAM wParam, LPARAM lParam)
+PlatformKeyboardEvent::PlatformKeyboardEvent(HWND hWnd, WPARAM wParam, LPARAM lParam, UChar)
     : m_text(singleCharacterString(wParam))
     , m_unmodifiedText(singleCharacterString(wParam))
     , m_keyIdentifier(keyIdentifierForWindowsKeyCode(wParam))