Index: Source/core/html/forms/TypeAhead.cpp |
diff --git a/Source/core/html/TypeAhead.cpp b/Source/core/html/forms/TypeAhead.cpp |
similarity index 98% |
rename from Source/core/html/TypeAhead.cpp |
rename to Source/core/html/forms/TypeAhead.cpp |
index d93541faf9bc1267a976121fc3b9f70ded4f01a5..739f742b691934a9436a282055fb3242255984fd 100644 |
--- a/Source/core/html/TypeAhead.cpp |
+++ b/Source/core/html/forms/TypeAhead.cpp |
@@ -26,7 +26,7 @@ |
*/ |
#include "config.h" |
-#include "core/html/TypeAhead.h" |
+#include "core/html/forms/TypeAhead.h" |
#include "core/dom/KeyboardEvent.h" |
#include "wtf/unicode/CharacterNames.h" |
@@ -87,8 +87,9 @@ int TypeAhead::handleEvent(KeyboardEvent* event, MatchModeFlags matchMode) |
if (m_buffer.length() > 1) { |
m_repeatingChar = 0; |
searchStartOffset = 0; |
- } else |
+ } else { |
m_repeatingChar = c; |
+ } |
} |
if (!prefix.isEmpty()) { |