Title: [114727] trunk/Source
Revision
114727
Author
pilg...@chromium.org
Date
2012-04-20 01:41:08 -0700 (Fri, 20 Apr 2012)

Log Message

[Chromium] Call stopSharedTimer directly
https://bugs.webkit.org/show_bug.cgi?id=84418

Reviewed by Kentaro Hara.

Part of a refactoring series. See tracking bug 82948.

Source/WebCore:

* platform/chromium/PlatformSupport.h:
(PlatformSupport):
* platform/chromium/SharedTimerChromium.cpp:
(WebCore::stopSharedTimer):

Source/WebKit/chromium:

* src/PlatformSupport.cpp:
(WebCore):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114726 => 114727)


--- trunk/Source/WebCore/ChangeLog	2012-04-20 07:50:54 UTC (rev 114726)
+++ trunk/Source/WebCore/ChangeLog	2012-04-20 08:41:08 UTC (rev 114727)
@@ -1,3 +1,17 @@
+2012-04-20  Mark Pilgrim  <pilg...@chromium.org>
+
+        [Chromium] Call stopSharedTimer directly
+        https://bugs.webkit.org/show_bug.cgi?id=84418
+
+        Reviewed by Kentaro Hara.
+
+        Part of a refactoring series. See tracking bug 82948.
+
+        * platform/chromium/PlatformSupport.h:
+        (PlatformSupport):
+        * platform/chromium/SharedTimerChromium.cpp:
+        (WebCore::stopSharedTimer):
+
 2012-04-20  Taiju Tsuiki  <t...@chromium.org>
 
         DOMFileSystem::scheduleCallback() crashes on file() call after reload.

Modified: trunk/Source/WebCore/platform/chromium/PlatformSupport.h (114726 => 114727)


--- trunk/Source/WebCore/platform/chromium/PlatformSupport.h	2012-04-20 07:50:54 UTC (rev 114726)
+++ trunk/Source/WebCore/platform/chromium/PlatformSupport.h	2012-04-20 08:41:08 UTC (rev 114727)
@@ -235,7 +235,6 @@
     // SharedTimers -------------------------------------------------------
     static void setSharedTimerFiredFunction(void (*func)());
     static void setSharedTimerFireInterval(double);
-    static void stopSharedTimer();
 
     // Theming ------------------------------------------------------------
 #if OS(WINDOWS)

Modified: trunk/Source/WebCore/platform/chromium/SharedTimerChromium.cpp (114726 => 114727)


--- trunk/Source/WebCore/platform/chromium/SharedTimerChromium.cpp	2012-04-20 07:50:54 UTC (rev 114726)
+++ trunk/Source/WebCore/platform/chromium/SharedTimerChromium.cpp	2012-04-20 08:41:08 UTC (rev 114727)
@@ -28,6 +28,8 @@
 
 #include "PlatformSupport.h"
 
+#include <public/Platform.h>
+
 namespace WebCore {
 
 void setSharedTimerFiredFunction(void (*f)())
@@ -42,7 +44,7 @@
 
 void stopSharedTimer()
 {
-    PlatformSupport::stopSharedTimer();
+    WebKit::Platform::current()->stopSharedTimer();
 }
 
 } // namespace WebCore

Modified: trunk/Source/WebKit/chromium/ChangeLog (114726 => 114727)


--- trunk/Source/WebKit/chromium/ChangeLog	2012-04-20 07:50:54 UTC (rev 114726)
+++ trunk/Source/WebKit/chromium/ChangeLog	2012-04-20 08:41:08 UTC (rev 114727)
@@ -1,3 +1,15 @@
+2012-04-20  Mark Pilgrim  <pilg...@chromium.org>
+
+        [Chromium] Call stopSharedTimer directly
+        https://bugs.webkit.org/show_bug.cgi?id=84418
+
+        Reviewed by Kentaro Hara.
+
+        Part of a refactoring series. See tracking bug 82948.
+
+        * src/PlatformSupport.cpp:
+        (WebCore):
+
 2012-04-19  Jeremy Mao  <yujie....@intel.com>
 
         Media Stream API: Piece of code cleanup for the chromium port

Modified: trunk/Source/WebKit/chromium/src/PlatformSupport.cpp (114726 => 114727)


--- trunk/Source/WebKit/chromium/src/PlatformSupport.cpp	2012-04-20 07:50:54 UTC (rev 114726)
+++ trunk/Source/WebKit/chromium/src/PlatformSupport.cpp	2012-04-20 08:41:08 UTC (rev 114727)
@@ -616,11 +616,6 @@
     webKitPlatformSupport()->setSharedTimerFireInterval(interval);
 }
 
-void PlatformSupport::stopSharedTimer()
-{
-    webKitPlatformSupport()->stopSharedTimer();
-}
-
 // Theming --------------------------------------------------------------------
 
 #if OS(WINDOWS)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to