[SCM] WebKit Debian packaging branch, webkit-1.3, updated. upstream/1.3.7-4207-g178b198

commit-queue at webkit.org commit-queue at webkit.org
Mon Feb 21 00:23:01 UTC 2011


The following commit has been merged in the webkit-1.3 branch:
commit 90506bc5800f78291136eba0d8eb9653164d165d
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date:   Sun Jan 30 11:54:48 2011 +0000

    2011-01-30  Leo Yang  <leo.yang at torchmobile.com.cn>
    
            Reviewed by Daniel Bates.
    
            Code style issue in JavaScriptCore/wtf/CurrentTime.h
            https://bugs.webkit.org/show_bug.cgi?id=53394
    
            According to rule #3 at http://webkit.org/coding/coding-style.html,
            This patch fix style issue in CurrentTime.h.
    
            No functionality change, no new tests.
    
            * wtf/CurrentTime.h:
            (WTF::currentTimeMS):
            (WTF::getLocalTime):
    
    git-svn-id: http://svn.webkit.org/repository/webkit/trunk@77087 268f45cc-cd09-0410-ab3c-d52691b4dbfc

diff --git a/Source/JavaScriptCore/ChangeLog b/Source/JavaScriptCore/ChangeLog
index 6507103..ff81109 100644
--- a/Source/JavaScriptCore/ChangeLog
+++ b/Source/JavaScriptCore/ChangeLog
@@ -1,3 +1,19 @@
+2011-01-30  Leo Yang  <leo.yang at torchmobile.com.cn>
+
+        Reviewed by Daniel Bates.
+
+        Code style issue in JavaScriptCore/wtf/CurrentTime.h
+        https://bugs.webkit.org/show_bug.cgi?id=53394
+
+        According to rule #3 at http://webkit.org/coding/coding-style.html,
+        This patch fix style issue in CurrentTime.h.
+
+        No functionality change, no new tests.
+
+        * wtf/CurrentTime.h:
+        (WTF::currentTimeMS):
+        (WTF::getLocalTime):
+
 2011-01-30  Benjamin Poulain  <ikipou at gmail.com>
 
         Reviewed by Kenneth Rohde Christiansen.
diff --git a/Source/JavaScriptCore/wtf/CurrentTime.h b/Source/JavaScriptCore/wtf/CurrentTime.h
index 7119656..5fcb63a 100644
--- a/Source/JavaScriptCore/wtf/CurrentTime.h
+++ b/Source/JavaScriptCore/wtf/CurrentTime.h
@@ -36,27 +36,27 @@
 
 namespace WTF {
 
-    // Returns the current UTC time in seconds, counted from January 1, 1970.
-    // Precision varies depending on platform but is usually as good or better 
-    // than a millisecond.
-    double currentTime();
+// Returns the current UTC time in seconds, counted from January 1, 1970.
+// Precision varies depending on platform but is usually as good or better
+// than a millisecond.
+double currentTime();
 
-    // Same thing, in milliseconds.
-    inline double currentTimeMS()
-    {
-        return currentTime() * 1000.0; 
-    }
+// Same thing, in milliseconds.
+inline double currentTimeMS()
+{
+    return currentTime() * 1000.0;
+}
 
-    inline void getLocalTime(const time_t* localTime, struct tm* localTM)
-    {
-    #if COMPILER(MSVC7_OR_LOWER) || COMPILER(MINGW) || OS(WINCE)
-        *localTM = *localtime(localTime);
-    #elif COMPILER(MSVC)
-        localtime_s(localTM, localTime);
-    #else
-        localtime_r(localTime, localTM);
-    #endif
-    }
+inline void getLocalTime(const time_t* localTime, struct tm* localTM)
+{
+#if COMPILER(MSVC7_OR_LOWER) || COMPILER(MINGW) || OS(WINCE)
+    *localTM = *localtime(localTime);
+#elif COMPILER(MSVC)
+    localtime_s(localTM, localTime);
+#else
+    localtime_r(localTime, localTM);
+#endif
+}
 
 } // namespace WTF
 

-- 
WebKit Debian packaging



More information about the Pkg-webkit-commits mailing list