Index: WebCore/html/HTMLInputElement.cpp |
=================================================================== |
--- WebCore/html/HTMLInputElement.cpp (revision 70867) |
+++ WebCore/html/HTMLInputElement.cpp (working copy) |
@@ -63,6 +63,7 @@ |
#include "RenderText.h" |
#include "RenderTextControlSingleLine.h" |
#include "RenderTheme.h" |
+#include "RuntimeEnabledFeatures.h" |
#include "ScriptEventListener.h" |
#include "StepRange.h" |
#include "TextEvent.h" |
@@ -2977,7 +2978,7 @@ |
case SEARCH: |
case TELEPHONE: |
case TEXT: |
- return hasAttribute(speechAttr); |
+ return RuntimeEnabledFeatures::speechInputEnabled() && hasAttribute(speechAttr); |
case BUTTON: |
case CHECKBOX: |
case COLOR: |