Title: [233274] trunk/Source/WebCore
Revision
233274
Author
[email protected]
Date
2018-06-27 13:01:49 -0700 (Wed, 27 Jun 2018)

Log Message

Fix Windows build after r233268.

* platform/graphics/ca/win/PlatformCALayerWin.cpp:
(PlatformCALayerWin::hasContents const):
* platform/graphics/ca/win/PlatformCALayerWin.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (233273 => 233274)


--- trunk/Source/WebCore/ChangeLog	2018-06-27 19:59:17 UTC (rev 233273)
+++ trunk/Source/WebCore/ChangeLog	2018-06-27 20:01:49 UTC (rev 233274)
@@ -1,3 +1,11 @@
+2018-06-27  Simon Fraser  <[email protected]>
+
+        Fix Windows build after r233268.
+
+        * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+        (PlatformCALayerWin::hasContents const):
+        * platform/graphics/ca/win/PlatformCALayerWin.h:
+
 2018-06-27  Zalan Bujtas  <[email protected]>
 
         [LFC] Out-of-flow positioned element's height depends on its containing block's height.

Modified: trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp (233273 => 233274)


--- trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp	2018-06-27 19:59:17 UTC (rev 233273)
+++ trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp	2018-06-27 20:01:49 UTC (rev 233274)
@@ -535,6 +535,11 @@
 {
 }
 
+bool PlatformCALayerWin::hasContents() const
+{
+    return !!CACFLayerGetContents(m_layer.get());
+}
+
 CFTypeRef PlatformCALayerWin::contents() const
 {
     return CACFLayerGetContents(m_layer.get());

Modified: trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.h (233273 => 233274)


--- trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.h	2018-06-27 19:59:17 UTC (rev 233273)
+++ trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.h	2018-06-27 20:01:49 UTC (rev 233274)
@@ -108,6 +108,7 @@
     bool supportsSubpixelAntialiasedText() const override;
     void setSupportsSubpixelAntialiasedText(bool) override;
 
+    bool hasContents() const override;
     CFTypeRef contents() const override;
     void setContents(CFTypeRef) override;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to