From e16bcd08aae85a7d9c2de5a4b1c733280cb81112 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Sun, 13 May 2018 00:08:52 +0200 Subject: Remove MOZ_WIDGET_GONK [2/2] Tag #288 --- widget/PuppetWidget.cpp | 5 ----- 1 file changed, 5 deletions(-) (limited to 'widget/PuppetWidget.cpp') diff --git a/widget/PuppetWidget.cpp b/widget/PuppetWidget.cpp index 1fa13ee6f..657f70551 100644 --- a/widget/PuppetWidget.cpp +++ b/widget/PuppetWidget.cpp @@ -541,10 +541,6 @@ PuppetWidget::ExecuteNativeKeyBinding(NativeKeyBindingsType aType, DoCommandCallback aCallback, void* aCallbackData) { - // B2G doesn't have native key bindings. -#ifdef MOZ_WIDGET_GONK - return false; -#else // #ifdef MOZ_WIDGET_GONK AutoCacheNativeKeyCommands autoCache(this); if (!aEvent.mWidget && !mNativeKeyCommandsValid) { MOZ_ASSERT(!aEvent.mFlags.mIsSynthesizedForTests); @@ -581,7 +577,6 @@ PuppetWidget::ExecuteNativeKeyBinding(NativeKeyBindingsType aType, aCallback(static_cast((*commands)[i]), aCallbackData); } return true; -#endif } LayerManager* -- cgit v1.2.3