Title: [215140] trunk/Source/WebCore
Revision
215140
Author
[email protected]
Date
2017-04-07 20:53:46 -0700 (Fri, 07 Apr 2017)

Log Message

Build fix: TimerBase::start(double, double) can't be inline and exported,
so make it non-inline.

* platform/Timer.cpp:
(WebCore::TimerBase::start):
* platform/Timer.h:
(WebCore::TimerBase::start): Deleted.

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (215139 => 215140)


--- trunk/Source/WebCore/ChangeLog	2017-04-08 03:22:26 UTC (rev 215139)
+++ trunk/Source/WebCore/ChangeLog	2017-04-08 03:53:46 UTC (rev 215140)
@@ -1,3 +1,13 @@
+2017-04-07  Simon Fraser  <[email protected]>
+
+        Build fix: TimerBase::start(double, double) can't be inline and exported,
+        so make it non-inline.
+
+        * platform/Timer.cpp:
+        (WebCore::TimerBase::start):
+        * platform/Timer.h:
+        (WebCore::TimerBase::start): Deleted.
+
 2017-04-07  Chris Dumez  <[email protected]>
 
         REGRESSION (r203941): iAd Producer widgets fail to play in iBooks

Modified: trunk/Source/WebCore/platform/Timer.cpp (215139 => 215140)


--- trunk/Source/WebCore/platform/Timer.cpp	2017-04-08 03:22:26 UTC (rev 215139)
+++ trunk/Source/WebCore/platform/Timer.cpp	2017-04-08 03:53:46 UTC (rev 215140)
@@ -201,6 +201,11 @@
 #endif
 }
 
+void TimerBase::start(double nextFireInterval, double repeatInterval)
+{
+    start(Seconds { nextFireInterval }, Seconds { repeatInterval });
+}
+
 void TimerBase::start(Seconds nextFireInterval, Seconds repeatInterval)
 {
     ASSERT(canAccessThreadLocalDataForThread(m_thread));

Modified: trunk/Source/WebCore/platform/Timer.h (215139 => 215140)


--- trunk/Source/WebCore/platform/Timer.h	2017-04-08 03:22:26 UTC (rev 215139)
+++ trunk/Source/WebCore/platform/Timer.h	2017-04-08 03:53:46 UTC (rev 215140)
@@ -57,7 +57,7 @@
     WEBCORE_EXPORT virtual ~TimerBase();
 
     WEBCORE_EXPORT void start(Seconds nextFireInterval, Seconds repeatInterval);
-    WEBCORE_EXPORT void start(double nextFireInterval, double repeatInterval) { start(Seconds { nextFireInterval }, Seconds { repeatInterval }); }
+    WEBCORE_EXPORT void start(double nextFireInterval, double repeatInterval);
 
     void startRepeating(double repeatInterval) { start(repeatInterval, repeatInterval); }
     void startRepeating(std::chrono::milliseconds repeatInterval) { startRepeating(msToSeconds(repeatInterval)); }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to