diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-20 12:12:30 -0500 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2020-04-14 12:49:08 +0200 |
commit | 496fbaf738fb00824d7e972e874bfdbe85caaee5 (patch) | |
tree | d1ee93e14f49f8ff5e05cd1e0f52693df4721b93 /widget/InProcessCompositorWidget.cpp | |
parent | 85621ee9b30dd325b85eecb7137a0d3cb1d38c27 (diff) | |
download | UXP-496fbaf738fb00824d7e972e874bfdbe85caaee5.tar UXP-496fbaf738fb00824d7e972e874bfdbe85caaee5.tar.gz UXP-496fbaf738fb00824d7e972e874bfdbe85caaee5.tar.lz UXP-496fbaf738fb00824d7e972e874bfdbe85caaee5.tar.xz UXP-496fbaf738fb00824d7e972e874bfdbe85caaee5.zip |
Issue #1053 - Remove conditional android code from widget/
Diffstat (limited to 'widget/InProcessCompositorWidget.cpp')
-rw-r--r-- | widget/InProcessCompositorWidget.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/widget/InProcessCompositorWidget.cpp b/widget/InProcessCompositorWidget.cpp index 9b301fc48..df7250d9f 100644 --- a/widget/InProcessCompositorWidget.cpp +++ b/widget/InProcessCompositorWidget.cpp @@ -5,10 +5,6 @@ #include "InProcessCompositorWidget.h" #include "nsBaseWidget.h" -#if defined(MOZ_WIDGET_ANDROID) && !defined(MOZ_WIDGET_SUPPORTS_OOP_COMPOSITING) -#include "mozilla/widget/AndroidCompositorWidget.h" -#endif - namespace mozilla { namespace widget { @@ -19,11 +15,7 @@ namespace widget { CompositorWidget::CreateLocal(const CompositorWidgetInitData& aInitData, nsIWidget* aWidget) { MOZ_ASSERT(aWidget); -#ifdef MOZ_WIDGET_ANDROID - return new AndroidCompositorWidget(static_cast<nsBaseWidget*>(aWidget)); -#else return new InProcessCompositorWidget(static_cast<nsBaseWidget*>(aWidget)); -#endif } #endif |