Title: [197603] trunk/Source/WebCore
Revision
197603
Author
[email protected]
Date
2016-03-04 17:32:04 -0800 (Fri, 04 Mar 2016)

Log Message

Convert DOMTimer interval from int to std::chromo::milliseconds
https://bugs.webkit.org/show_bug.cgi?id=155051

iOS build fix

* page/DOMTimer.cpp:
(WebCore::DOMTimer::install):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (197602 => 197603)


--- trunk/Source/WebCore/ChangeLog	2016-03-05 01:23:42 UTC (rev 197602)
+++ trunk/Source/WebCore/ChangeLog	2016-03-05 01:32:04 UTC (rev 197603)
@@ -1,3 +1,13 @@
+2016-03-04  Gavin Barraclough  <[email protected]>
+
+        Convert DOMTimer interval from int to std::chromo::milliseconds
+        https://bugs.webkit.org/show_bug.cgi?id=155051
+
+        iOS build fix
+
+        * page/DOMTimer.cpp:
+        (WebCore::DOMTimer::install):
+
 2016-03-04  Ryosuke Niwa  <[email protected]>
 
         Update defineCustomElement according to the spec rewrite

Modified: trunk/Source/WebCore/page/DOMTimer.cpp (197602 => 197603)


--- trunk/Source/WebCore/page/DOMTimer.cpp	2016-03-05 01:23:42 UTC (rev 197602)
+++ trunk/Source/WebCore/page/DOMTimer.cpp	2016-03-05 01:32:04 UTC (rev 197603)
@@ -204,7 +204,7 @@
 #if PLATFORM(IOS)
     if (is<Document>(context)) {
         bool didDeferTimeout = context.activeDOMObjectsAreSuspended();
-        if (!didDeferTimeout && timeout <= 100 && singleShot) {
+        if (!didDeferTimeout && timeout.count() <= 100 && singleShot) {
             WKSetObservedContentChange(WKContentIndeterminateChange);
             WebThreadAddObservedContentModifier(timer); // Will only take affect if not already visibility change.
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to