summaryrefslogtreecommitdiffstats
path: root/webkit/port
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-24 17:56:54 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-24 17:56:54 +0000
commit0b5ef2b5fc21d28f564dd03d566823cfda3ef3ef (patch)
tree0ee34b6f0050a81f40ff8269fa4c4f485d96231d /webkit/port
parentb61e9c84562dda0960f6b8287da7719b2dcbf21b (diff)
downloadchromium_src-0b5ef2b5fc21d28f564dd03d566823cfda3ef3ef.zip
chromium_src-0b5ef2b5fc21d28f564dd03d566823cfda3ef3ef.tar.gz
chromium_src-0b5ef2b5fc21d28f564dd03d566823cfda3ef3ef.tar.bz2
wrap windows-only assert in ifdefs
Review URL: http://codereview.chromium.org/8152 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@3927 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/port')
-rw-r--r--webkit/port/platform/chromium/PlatformKeyboardEventChromium.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/port/platform/chromium/PlatformKeyboardEventChromium.cpp b/webkit/port/platform/chromium/PlatformKeyboardEventChromium.cpp
index af67f0d..06d096d 100644
--- a/webkit/port/platform/chromium/PlatformKeyboardEventChromium.cpp
+++ b/webkit/port/platform/chromium/PlatformKeyboardEventChromium.cpp
@@ -36,8 +36,10 @@ namespace WebCore {
void PlatformKeyboardEvent::disambiguateKeyDownEvent(Type, bool)
{
+#if PLATFORM(WIN_OS)
// No KeyDown events on Windows to disambiguate.
ASSERT_NOT_REACHED();
+#endif
}
bool PlatformKeyboardEvent::currentCapsLockState()