Index: Source/core/html/forms/TypeAhead.cpp |
diff --git a/Source/core/html/forms/TypeAhead.cpp b/Source/core/html/forms/TypeAhead.cpp |
index 76ad2ef1747bc5786f46708b29bd8530541fcbed..38bbef17c0776c5fde21bdf6d16ef1fff98aa172 100644 |
--- a/Source/core/html/forms/TypeAhead.cpp |
+++ b/Source/core/html/forms/TypeAhead.cpp |
@@ -126,4 +126,10 @@ bool TypeAhead::hasActiveSession(KeyboardEvent* event) |
return delta <= typeAheadTimeout; |
} |
+void TypeAhead::resetSession() |
+{ |
+ m_lastTypeTime = 0; |
+ m_buffer.clear(); |
+} |
+ |
} // namespace blink |