Title: [286367] trunk/Source/WebKitLegacy/mac
Revision
286367
Author
cdu...@apple.com
Date
2021-12-01 09:45:30 -0800 (Wed, 01 Dec 2021)

Log Message

Regression(r283912) Broke backward compatibility for Swift bindings
https://bugs.webkit.org/show_bug.cgi?id=233701
<rdar://85627701>

Reviewed by Darin Adler.

Rename EpochTimeStamp back to DOMTimeStamp in DOMObject.h & DOMEvent.h
since those are API headers and we need to maintain backward compatibility.

* DOM/DOMEvent.h:
* DOM/DOMEvent.mm:
(-[DOMEvent timeStamp]):
* DOM/DOMObject.h:

Modified Paths

Diff

Modified: trunk/Source/WebKitLegacy/mac/ChangeLog (286366 => 286367)


--- trunk/Source/WebKitLegacy/mac/ChangeLog	2021-12-01 17:09:44 UTC (rev 286366)
+++ trunk/Source/WebKitLegacy/mac/ChangeLog	2021-12-01 17:45:30 UTC (rev 286367)
@@ -1,3 +1,19 @@
+2021-12-01  Chris Dumez  <cdu...@apple.com>
+
+        Regression(r283912) Broke backward compatibility for Swift bindings
+        https://bugs.webkit.org/show_bug.cgi?id=233701
+        <rdar://85627701>
+
+        Reviewed by Darin Adler.
+
+        Rename EpochTimeStamp back to DOMTimeStamp in DOMObject.h & DOMEvent.h
+        since those are API headers and we need to maintain backward compatibility.
+
+        * DOM/DOMEvent.h:
+        * DOM/DOMEvent.mm:
+        (-[DOMEvent timeStamp]):
+        * DOM/DOMObject.h:
+
 2021-11-24  David Kilzer  <ddkil...@apple.com>
 
         Compiler should be able to check localized format strings for consistency

Modified: trunk/Source/WebKitLegacy/mac/DOM/DOMEvent.h (286366 => 286367)


--- trunk/Source/WebKitLegacy/mac/DOM/DOMEvent.h	2021-12-01 17:09:44 UTC (rev 286366)
+++ trunk/Source/WebKitLegacy/mac/DOM/DOMEvent.h	2021-12-01 17:45:30 UTC (rev 286367)
@@ -43,7 +43,7 @@
 @property (readonly) unsigned short eventPhase;
 @property (readonly) BOOL bubbles;
 @property (readonly) BOOL cancelable;
-@property (readonly) EpochTimeStamp timeStamp;
+@property (readonly) DOMTimeStamp timeStamp;
 @property (readonly, strong) id <DOMEventTarget> srcElement WEBKIT_AVAILABLE_MAC(10_6);
 @property BOOL returnValue WEBKIT_AVAILABLE_MAC(10_6);
 @property BOOL cancelBubble WEBKIT_AVAILABLE_MAC(10_6);

Modified: trunk/Source/WebKitLegacy/mac/DOM/DOMEvent.mm (286366 => 286367)


--- trunk/Source/WebKitLegacy/mac/DOM/DOMEvent.mm	2021-12-01 17:09:44 UTC (rev 286366)
+++ trunk/Source/WebKitLegacy/mac/DOM/DOMEvent.mm	2021-12-01 17:45:30 UTC (rev 286367)
@@ -94,7 +94,7 @@
     return IMPL->composed();
 }
 
-- (EpochTimeStamp)timeStamp
+- (DOMTimeStamp)timeStamp
 {
     WebCore::JSMainThreadNullState state;
     return IMPL->timeStamp().approximateWallTime().secondsSinceEpoch().milliseconds();

Modified: trunk/Source/WebKitLegacy/mac/DOM/DOMObject.h (286366 => 286367)


--- trunk/Source/WebKitLegacy/mac/DOM/DOMObject.h	2021-12-01 17:09:44 UTC (rev 286366)
+++ trunk/Source/WebKitLegacy/mac/DOM/DOMObject.h	2021-12-01 17:45:30 UTC (rev 286367)
@@ -29,7 +29,7 @@
 
 @class DOMStyleSheet;
 
-typedef unsigned long long EpochTimeStamp;
+typedef unsigned long long DOMTimeStamp;
 
 typedef struct DOMObjectInternal DOMObjectInternal;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to