Title: [221088] trunk/Source/WebCore
- Revision
- 221088
- Author
- [email protected]
- Date
- 2017-08-23 11:14:39 -0700 (Wed, 23 Aug 2017)
Log Message
Try to fix the WinCairo build after r221068
* platform/win/PlatformScreenWin.cpp:
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (221087 => 221088)
--- trunk/Source/WebCore/ChangeLog 2017-08-23 18:09:06 UTC (rev 221087)
+++ trunk/Source/WebCore/ChangeLog 2017-08-23 18:14:39 UTC (rev 221088)
@@ -1,3 +1,9 @@
+2017-08-23 Tim Horton <[email protected]>
+
+ Try to fix the WinCairo build after r221068
+
+ * platform/win/PlatformScreenWin.cpp:
+
2017-08-23 Youenn Fablet <[email protected]>
[Cache API] Enable persistent coder to encode FetchOptions
Modified: trunk/Source/WebCore/platform/win/PlatformScreenWin.cpp (221087 => 221088)
--- trunk/Source/WebCore/platform/win/PlatformScreenWin.cpp 2017-08-23 18:09:06 UTC (rev 221087)
+++ trunk/Source/WebCore/platform/win/PlatformScreenWin.cpp 2017-08-23 18:14:39 UTC (rev 221088)
@@ -30,12 +30,15 @@
#include "FloatRect.h"
#include "Frame.h"
#include "FrameView.h"
-#include "GraphicsContextCG.h"
#include "HostWindow.h"
#include "IntRect.h"
#include "NotImplemented.h"
#include <windows.h>
+#if USE(CG)
+#include "GraphicsContextCG.h"
+#endif
+
namespace WebCore {
// Returns info for the default monitor if widget is NULL
@@ -101,10 +104,12 @@
return monitorInfo.rcWork;
}
+#if USE(CG)
CGColorSpaceRef screenColorSpace(Widget*)
{
return sRGBColorSpaceRef();
}
+#endif
bool screenSupportsExtendedColor(Widget*)
{
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes