Title: [200612] trunk/Source/WebCore
Revision
200612
Author
[email protected]
Date
2016-05-09 21:52:31 -0700 (Mon, 09 May 2016)

Log Message

Fix the Windows build after r200602, and do some minor tidyup.

* platform/graphics/ca/PlatformCALayer.h:
* platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
(PlatformCALayerCocoa::contentsHidden):
* platform/graphics/ca/win/PlatformCALayerWin.cpp:
(PlatformCALayerWin::contentsHidden):
(PlatformCALayerWin::setContentsHidden):
* platform/graphics/ca/win/PlatformCALayerWin.h:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (200611 => 200612)


--- trunk/Source/WebCore/ChangeLog	2016-05-10 03:40:58 UTC (rev 200611)
+++ trunk/Source/WebCore/ChangeLog	2016-05-10 04:52:31 UTC (rev 200612)
@@ -1,3 +1,15 @@
+2016-05-09  Simon Fraser  <[email protected]>
+
+        Fix the Windows build after r200602, and do some minor tidyup.
+
+        * platform/graphics/ca/PlatformCALayer.h:
+        * platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm:
+        (PlatformCALayerCocoa::contentsHidden):
+        * platform/graphics/ca/win/PlatformCALayerWin.cpp:
+        (PlatformCALayerWin::contentsHidden):
+        (PlatformCALayerWin::setContentsHidden):
+        * platform/graphics/ca/win/PlatformCALayerWin.h:
+
 2016-05-09  Darin Adler  <[email protected]>
 
         Change Notification constructor to take an IDL dictionary instead of a WebCore::Dictionary

Modified: trunk/Source/WebCore/platform/graphics/ca/PlatformCALayer.h (200611 => 200612)


--- trunk/Source/WebCore/platform/graphics/ca/PlatformCALayer.h	2016-05-10 03:40:58 UTC (rev 200611)
+++ trunk/Source/WebCore/platform/graphics/ca/PlatformCALayer.h	2016-05-10 04:52:31 UTC (rev 200612)
@@ -158,6 +158,7 @@
     virtual bool isHidden() const = 0;
     virtual void setHidden(bool) = 0;
 
+    // Used to disable user interaction for some platforms.
     virtual bool contentsHidden() const = 0;
     virtual void setContentsHidden(bool) = 0;
 

Modified: trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm (200611 => 200612)


--- trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm	2016-05-10 03:40:58 UTC (rev 200611)
+++ trunk/Source/WebCore/platform/graphics/ca/cocoa/PlatformCALayerCocoa.mm	2016-05-10 04:52:31 UTC (rev 200612)
@@ -618,13 +618,11 @@
 
 bool PlatformCALayerCocoa::contentsHidden() const
 {
-    // Used to disable user interaction for some platforms.
-    return true;
+    return false;
 }
 
 void PlatformCALayerCocoa::setContentsHidden(bool)
 {
-    // Used to disable user interaction for some platforms.
 }
 
 void PlatformCALayerCocoa::setBackingStoreAttached(bool)

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


--- trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp	2016-05-10 03:40:58 UTC (rev 200611)
+++ trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.cpp	2016-05-10 04:52:31 UTC (rev 200612)
@@ -448,6 +448,15 @@
     setNeedsCommit();
 }
 
+bool PlatformCALayerWin::contentsHidden() const
+{
+    return false;
+}
+
+void PlatformCALayerWin::setContentsHidden(bool)
+{
+}
+
 void PlatformCALayerWin::setBackingStoreAttached(bool)
 {
 }

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


--- trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.h	2016-05-10 03:40:58 UTC (rev 200611)
+++ trunk/Source/WebCore/platform/graphics/ca/win/PlatformCALayerWin.h	2016-05-10 04:52:31 UTC (rev 200612)
@@ -82,6 +82,9 @@
     bool isHidden() const override;
     void setHidden(bool) override;
 
+    bool contentsHidden() const override;
+    void setContentsHidden(bool) override;
+
     void setBackingStoreAttached(bool) override;
     bool backingStoreAttached() const override;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to