diff options
Diffstat (limited to 'WebCore/page/Page.cpp')
-rw-r--r-- | WebCore/page/Page.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/WebCore/page/Page.cpp b/WebCore/page/Page.cpp index ee99c43..8e471fc 100644 --- a/WebCore/page/Page.cpp +++ b/WebCore/page/Page.cpp @@ -57,10 +57,12 @@ #include "ProgressTracker.h" #include "RenderTheme.h" #include "RenderWidget.h" +#include "RuntimeEnabledFeatures.h" #include "ScriptController.h" #include "SelectionController.h" #include "Settings.h" #include "SharedBuffer.h" +#include "SpeechInputClient.h" #include "StringHash.h" #include "TextResourceDecoder.h" #include "Widget.h" @@ -153,7 +155,10 @@ Page::Page(ChromeClient* chromeClient, ContextMenuClient* contextMenuClient, Edi , m_geolocationController(new GeolocationController(this, geolocationControllerClient)) #endif #if ENABLE(DEVICE_ORIENTATION) - , m_deviceOrientationController(new DeviceOrientationController(this, deviceOrientationClient)) + , m_deviceOrientationController(RuntimeEnabledFeatures::deviceOrientationEnabled() ? new DeviceOrientationController(this, deviceOrientationClient) : 0) +#endif +#if ENABLE(INPUT_SPEECH) + , m_speechInputClient(0) #endif , m_settings(new Settings(this)) , m_progress(new ProgressTracker) |