Unreviewed build fix after r153333.
authorpsolanki@apple.com <psolanki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Jul 2013 20:19:28 +0000 (20:19 +0000)
committerpsolanki@apple.com <psolanki@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 25 Jul 2013 20:19:28 +0000 (20:19 +0000)
* platform/network/cf/ResourceResponseCFNet.cpp: Remove toTimeT since it is no longer called.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@153340 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/network/cf/ResourceResponseCFNet.cpp

index 3401b5e..604791c 100644 (file)
@@ -1,3 +1,9 @@
+2013-07-25  Pratik Solanki  <psolanki@apple.com>
+
+        Unreviewed build fix after r153333.
+
+        * platform/network/cf/ResourceResponseCFNet.cpp: Remove toTimeT since it is no longer called.
+
 2013-07-25  Christophe Dumez  <ch.dumez@sisa.samsung.com>
 
         Unreviewed EFL build fix after r153315.
index 67b27bc..2d6ce33 100644 (file)
@@ -69,13 +69,6 @@ static inline bool filenameHasSaneExtension(const String& filename)
     return dot > 0 && dot < length - 1;
 }
 
-static time_t toTimeT(CFAbsoluteTime time)
-{
-    static const double maxTimeAsDouble = std::numeric_limits<time_t>::max();
-    static const double minTimeAsDouble = std::numeric_limits<time_t>::min();
-    return static_cast<time_t>(min(max(minTimeAsDouble, time + kCFAbsoluteTimeIntervalSince1970), maxTimeAsDouble));
-}
-
 void ResourceResponse::platformLazyInit(InitLevel initLevel)
 {
     if (m_initLevel > initLevel)