diff options
author | Moonchild <moonchild@palemoon.org> | 2020-12-27 06:58:56 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-12-27 06:58:56 +0000 |
commit | 8d4456c797eea9236f4d84cdb23d85ce670152dc (patch) | |
tree | 5328170540665a789e1d857957e433f253849f8b /gfx/layers/Compositor.cpp | |
parent | ae2a160348562dfa5361f1e68226365b240c9597 (diff) | |
download | UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.gz UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.lz UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.tar.xz UXP-8d4456c797eea9236f4d84cdb23d85ce670152dc.zip |
Issue #1053 - Part 3a: Remove Android conditionals from /gfx
Diffstat (limited to 'gfx/layers/Compositor.cpp')
-rw-r--r-- | gfx/layers/Compositor.cpp | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/gfx/layers/Compositor.cpp b/gfx/layers/Compositor.cpp index b623b8de9..e091975bf 100644 --- a/gfx/layers/Compositor.cpp +++ b/gfx/layers/Compositor.cpp @@ -28,15 +28,8 @@ Compositor::Compositor(widget::CompositorWidget* aWidget, , mScreenRotation(ROTATION_0) , mWidget(aWidget) , mIsDestroyed(false) -#if defined(MOZ_WIDGET_ANDROID) - // If the default color isn't white for Fennec, there is a black - // flash before the first page of a tab is loaded. - , mClearColor(1.0, 1.0, 1.0, 1.0) - , mDefaultClearColor(1.0, 1.0, 1.0, 1.0) -#else , mClearColor(0.0, 0.0, 0.0, 0.0) , mDefaultClearColor(0.0, 0.0, 0.0, 0.0) -#endif { } @@ -173,11 +166,7 @@ Compositor::DrawDiagnosticsInternal(DiagnosticFlags aFlags, const gfx::Matrix4x4& aTransform, uint32_t aFlashCounter) { -#if defined(ANDROID) - int lWidth = 10; -#else int lWidth = 2; -#endif gfx::Color color; if (aFlags & DiagnosticFlags::CONTENT) { |