From 6992106dc7894fab3f620263e99b4083b36bf9e8 Mon Sep 17 00:00:00 2001 From: wolfbeast Date: Thu, 7 Feb 2019 22:06:24 +0100 Subject: 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. --- widget/windows/nsNativeThemeWin.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'widget/windows/nsNativeThemeWin.cpp') diff --git a/widget/windows/nsNativeThemeWin.cpp b/widget/windows/nsNativeThemeWin.cpp index 475ebce945..e84a2b80ce 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 using namespace mozilla; +using namespace mozilla::gfx; using namespace mozilla::widget; extern mozilla::LazyLogModule gWindowsLog; -- cgit v1.2.3