diff options
author | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-07 22:06:24 +0100 |
---|---|---|
committer | wolfbeast <mcwerewolf@wolfbeast.com> | 2019-02-07 22:06:24 +0100 |
commit | 6992106dc7894fab3f620263e99b4083b36bf9e8 (patch) | |
tree | 2a3554cf7bfabfeee0cc56ca58b04773a902cb76 /widget/windows/nsNativeThemeWin.cpp | |
parent | 0b6d9a47051be9ef4d064c6f7c60717da91d0bc2 (diff) | |
download | UXP-6992106dc7894fab3f620263e99b4083b36bf9e8.tar UXP-6992106dc7894fab3f620263e99b4083b36bf9e8.tar.gz UXP-6992106dc7894fab3f620263e99b4083b36bf9e8.tar.lz UXP-6992106dc7894fab3f620263e99b4083b36bf9e8.tar.xz UXP-6992106dc7894fab3f620263e99b4083b36bf9e8.zip |
Use existing image decoders to handle clipboard BMP data.
This gets rid of the old nsImageClipboard widget code in favor of using
the nsBMPDecoder in imglib.
Diffstat (limited to 'widget/windows/nsNativeThemeWin.cpp')
-rw-r--r-- | widget/windows/nsNativeThemeWin.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/widget/windows/nsNativeThemeWin.cpp b/widget/windows/nsNativeThemeWin.cpp index 475ebce94..e84a2b80c 100644 --- a/widget/windows/nsNativeThemeWin.cpp +++ b/widget/windows/nsNativeThemeWin.cpp @@ -8,6 +8,7 @@ #include "mozilla/EventStates.h" #include "mozilla/Logging.h" #include "mozilla/WindowsVersion.h" +#include "mozilla/gfx/Types.h" // for Color::FromABGR #include "nsDeviceContext.h" #include "nsRenderingContext.h" #include "nsRect.h" @@ -40,6 +41,7 @@ #include <algorithm> using namespace mozilla; +using namespace mozilla::gfx; using namespace mozilla::widget; extern mozilla::LazyLogModule gWindowsLog; |