diff options
author | Matt A. Tobin <email@mattatobin.com> | 2020-02-20 12:12:30 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2020-02-20 12:12:30 -0500 |
commit | b36e6061584f8518078c13b672f9ef05157f2826 (patch) | |
tree | 2dcbc437458dce9ccbcce31a29424f8f6a331900 /widget/InProcessCompositorWidget.cpp | |
parent | 18e74277b30891033c95cac58d8a9d53b1cdb646 (diff) | |
download | UXP-b36e6061584f8518078c13b672f9ef05157f2826.tar UXP-b36e6061584f8518078c13b672f9ef05157f2826.tar.gz UXP-b36e6061584f8518078c13b672f9ef05157f2826.tar.lz UXP-b36e6061584f8518078c13b672f9ef05157f2826.tar.xz UXP-b36e6061584f8518078c13b672f9ef05157f2826.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 |