Title: [150216] trunk/Source/WebCore
Revision
150216
Author
[email protected]
Date
2013-05-16 17:06:10 -0700 (Thu, 16 May 2013)

Log Message

Remove SystemTime header and implementations
https://bugs.webkit.org/show_bug.cgi?id=116200

Reviewed by Alexey Proskuryakov.

SystemTim just had a single function that's not called anymore. Remove it.

* GNUmakefile.list.am:
* PlatformBlackBerry.cmake:
* PlatformEfl.cmake:
* PlatformWinCE.cmake:
* Target.pri:
* WebCore.vcproj/WebCore.vcproj:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* history/PageCache.cpp:
* platform/SystemTime.h: Removed.
* platform/blackberry/SystemTimeBlackBerry.cpp: Removed.
* platform/efl/SystemTimeEfl.cpp: Removed.
* platform/graphics/ca/GraphicsLayerCA.cpp:
* platform/mac/SystemTimeMac.cpp: Removed.
* platform/qt/TemporaryLinkStubsQt.cpp:
* platform/win/SystemTimeWin.cpp: Removed.

Modified Paths

Removed Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (150215 => 150216)


--- trunk/Source/WebCore/ChangeLog	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/ChangeLog	2013-05-17 00:06:10 UTC (rev 150216)
@@ -1,3 +1,30 @@
+2013-05-16  Anders Carlsson  <[email protected]>
+
+        Remove SystemTime header and implementations
+        https://bugs.webkit.org/show_bug.cgi?id=116200
+
+        Reviewed by Alexey Proskuryakov.
+
+        SystemTim just had a single function that's not called anymore. Remove it.
+
+        * GNUmakefile.list.am:
+        * PlatformBlackBerry.cmake:
+        * PlatformEfl.cmake:
+        * PlatformWinCE.cmake:
+        * Target.pri:
+        * WebCore.vcproj/WebCore.vcproj:
+        * WebCore.vcxproj/WebCore.vcxproj:
+        * WebCore.vcxproj/WebCore.vcxproj.filters:
+        * WebCore.xcodeproj/project.pbxproj:
+        * history/PageCache.cpp:
+        * platform/SystemTime.h: Removed.
+        * platform/blackberry/SystemTimeBlackBerry.cpp: Removed.
+        * platform/efl/SystemTimeEfl.cpp: Removed.
+        * platform/graphics/ca/GraphicsLayerCA.cpp:
+        * platform/mac/SystemTimeMac.cpp: Removed.
+        * platform/qt/TemporaryLinkStubsQt.cpp:
+        * platform/win/SystemTimeWin.cpp: Removed.
+
 2013-05-16  Glenn Adams  <[email protected]>
 
         [Inspector] Don't filter syntax error caused by asterisk in CSS Property name.

Modified: trunk/Source/WebCore/GNUmakefile.list.am (150215 => 150216)


--- trunk/Source/WebCore/GNUmakefile.list.am	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/GNUmakefile.list.am	2013-05-17 00:06:10 UTC (rev 150216)
@@ -6000,7 +6000,6 @@
 	Source/WebCore/platform/SSLKeyGenerator.h \
 	Source/WebCore/platform/SuddenTermination.h \
 	Source/WebCore/platform/Supplementable.h \
-	Source/WebCore/platform/SystemTime.h \
 	Source/WebCore/platform/text/enchant/TextCheckerEnchant.h \
 	Source/WebCore/platform/text/enchant/TextCheckerEnchant.cpp \
 	Source/WebCore/platform/text/BidiContext.cpp \

Modified: trunk/Source/WebCore/PlatformBlackBerry.cmake (150215 => 150216)


--- trunk/Source/WebCore/PlatformBlackBerry.cmake	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/PlatformBlackBerry.cmake	2013-05-17 00:06:10 UTC (rev 150216)
@@ -123,7 +123,6 @@
     platform/blackberry/SearchPopupMenuBlackBerry.cpp
     platform/blackberry/SharedTimerBlackBerry.cpp
     platform/blackberry/SoundBlackBerry.cpp
-    platform/blackberry/SystemTimeBlackBerry.cpp
     platform/blackberry/TemporaryLinkStubs.cpp
     platform/blackberry/WidgetBlackBerry.cpp
     platform/graphics/blackberry/FloatPointBlackBerry.cpp

Modified: trunk/Source/WebCore/PlatformEfl.cmake (150215 => 150216)


--- trunk/Source/WebCore/PlatformEfl.cmake	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/PlatformEfl.cmake	2013-05-17 00:06:10 UTC (rev 150216)
@@ -82,7 +82,6 @@
     platform/efl/ScrollViewEfl.cpp
     platform/efl/SharedTimerEfl.cpp
     platform/efl/SoundEfl.cpp
-    platform/efl/SystemTimeEfl.cpp
     platform/efl/TemporaryLinkStubs.cpp
     platform/efl/WidgetEfl.cpp
 

Modified: trunk/Source/WebCore/PlatformWinCE.cmake (150215 => 150216)


--- trunk/Source/WebCore/PlatformWinCE.cmake	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/PlatformWinCE.cmake	2013-05-17 00:06:10 UTC (rev 150216)
@@ -59,7 +59,6 @@
     platform/win/SharedTimerWin.cpp
     platform/win/SoundWin.cpp
     platform/win/SystemInfo.cpp
-    platform/win/SystemTimeWin.cpp
     platform/win/WCDataObject.cpp
     platform/win/WebCoreInstanceHandle.cpp
     platform/win/WidgetWin.cpp

Modified: trunk/Source/WebCore/Target.pri (150215 => 150216)


--- trunk/Source/WebCore/Target.pri	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/Target.pri	2013-05-17 00:06:10 UTC (rev 150216)
@@ -2974,7 +2974,6 @@
     HEADERS += platform/win/SystemInfo.h
     SOURCES += \
         platform/win/SystemInfo.cpp \
-        platform/win/SystemTimeWin.cpp \
         platform/graphics/win/TransformationMatrixWin.cpp
 }
 

Modified: trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj (150215 => 150216)


--- trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj	2013-05-17 00:06:10 UTC (rev 150216)
@@ -29231,10 +29231,6 @@
 				>
 			</File>
 			<File
-				RelativePath="..\platform\SystemTime.h"
-				>
-			</File>
-			<File
 				RelativePath="..\platform\text\TextStyle.h"
 				>
 			</File>
@@ -29582,10 +29578,6 @@
 					>
 				</File>
 				<File
-					RelativePath="..\platform\win\SystemTimeWin.cpp"
-					>
-				</File>
-				<File
 					RelativePath="..\platform\win\TemporaryLinkStubs.cpp"
 					>
 				</File>

Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj (150215 => 150216)


--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj	2013-05-17 00:06:10 UTC (rev 150216)
@@ -4174,7 +4174,6 @@
     <ClCompile Include="..\platform\win\SharedTimerWin.cpp" />
     <ClCompile Include="..\platform\win\SoundWin.cpp" />
     <ClCompile Include="..\platform\win\SystemInfo.cpp" />
-    <ClCompile Include="..\platform\win\SystemTimeWin.cpp" />
     <ClCompile Include="..\platform\win\TemporaryLinkStubs.cpp" />
     <ClCompile Include="..\platform\win\WCDataObject.cpp">
       <PrecompiledHeader Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
@@ -11595,8 +11594,6 @@
     <ClInclude Include="..\platform\Sound.h" />
     <ClInclude Include="..\platform\SSLKeyGenerator.h" />
     <ClInclude Include="..\platform\SuddenTermination.h" />
-    <ClInclude Include="..\platform\SystemTime.h" />
-    <ClInclude Include="..\platform\Theme.h" />
     <ClInclude Include="..\platform\ThemeTypes.h" />
     <ClInclude Include="..\platform\ThreadGlobalData.h" />
     <ClInclude Include="..\platform\ThreadTimers.h" />

Modified: trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters (150215 => 150216)


--- trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters	2013-05-17 00:06:10 UTC (rev 150216)
@@ -1332,9 +1332,6 @@
     <ClCompile Include="..\platform\win\SystemInfo.cpp">
       <Filter>platform\win</Filter>
     </ClCompile>
-    <ClCompile Include="..\platform\win\SystemTimeWin.cpp">
-      <Filter>platform\win</Filter>
-    </ClCompile>
     <ClCompile Include="..\platform\win\TemporaryLinkStubs.cpp">
       <Filter>platform\win</Filter>
     </ClCompile>
@@ -8049,9 +8046,6 @@
     <ClInclude Include="..\platform\SuddenTermination.h">
       <Filter>platform</Filter>
     </ClInclude>
-    <ClInclude Include="..\platform\SystemTime.h">
-      <Filter>platform</Filter>
-    </ClInclude>
     <ClInclude Include="..\platform\Theme.h">
       <Filter>platform</Filter>
     </ClInclude>

Modified: trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj (150215 => 150216)


--- trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj	2013-05-17 00:06:10 UTC (rev 150216)
@@ -1769,7 +1769,6 @@
 		6571DCC81385E6A400702DD0 /* MemoryPressureHandler.h in Headers */ = {isa = PBXBuildFile; fileRef = 657EDA071385CB97004E0645 /* MemoryPressureHandler.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		657EDA081385CB97004E0645 /* MemoryPressureHandler.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 657EDA061385CB97004E0645 /* MemoryPressureHandler.cpp */; };
 		657EDA0B1385CBD8004E0645 /* MemoryPressureHandlerMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = 657EDA0A1385CBD8004E0645 /* MemoryPressureHandlerMac.mm */; };
-		6582A16309999D6D00BEEB6D /* SystemTimeMac.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6582A15509999D6D00BEEB6D /* SystemTimeMac.cpp */; };
 		658436860AE01B7400E53753 /* FrameLoadRequest.h in Headers */ = {isa = PBXBuildFile; fileRef = 658436850AE01B7400E53753 /* FrameLoadRequest.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		6593923709AE4346002C531F /* KURL.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 6593923509AE4346002C531F /* KURL.cpp */; };
 		6593923809AE4346002C531F /* KURL.h in Headers */ = {isa = PBXBuildFile; fileRef = 6593923609AE4346002C531F /* KURL.h */; settings = {ATTRIBUTES = (Private, ); }; };
@@ -2923,7 +2922,6 @@
 		93E2425F0B2B509500C732A1 /* HTMLFrameOwnerElement.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93E2425E0B2B509500C732A1 /* HTMLFrameOwnerElement.cpp */; };
 		93E2A306123E9DC0009FE12A /* HTMLParserIdioms.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93E2A304123E9DC0009FE12A /* HTMLParserIdioms.cpp */; };
 		93E2A307123E9DC0009FE12A /* HTMLParserIdioms.h in Headers */ = {isa = PBXBuildFile; fileRef = 93E2A305123E9DC0009FE12A /* HTMLParserIdioms.h */; settings = {ATTRIBUTES = (Private, ); }; };
-		93E62D9B0985F41600E1B5E3 /* SystemTime.h in Headers */ = {isa = PBXBuildFile; fileRef = 93E62D990985F41600E1B5E3 /* SystemTime.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		93EB169509F880B00091F8FF /* WebCoreSystemInterface.mm in Sources */ = {isa = PBXBuildFile; fileRef = 93EB169409F880B00091F8FF /* WebCoreSystemInterface.mm */; };
 		93EB169709F880C00091F8FF /* WebCoreSystemInterface.h in Headers */ = {isa = PBXBuildFile; fileRef = 93EB169609F880C00091F8FF /* WebCoreSystemInterface.h */; settings = {ATTRIBUTES = (Private, ); }; };
 		93EB355F09E37FD600F43799 /* MouseEventWithHitTestResults.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 93EB355E09E37FD600F43799 /* MouseEventWithHitTestResults.cpp */; };
@@ -8189,7 +8187,6 @@
 		657EDA061385CB97004E0645 /* MemoryPressureHandler.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MemoryPressureHandler.cpp; sourceTree = "<group>"; };
 		657EDA071385CB97004E0645 /* MemoryPressureHandler.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MemoryPressureHandler.h; sourceTree = "<group>"; };
 		657EDA0A1385CBD8004E0645 /* MemoryPressureHandlerMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = MemoryPressureHandlerMac.mm; sourceTree = "<group>"; };
-		6582A15509999D6D00BEEB6D /* SystemTimeMac.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = SystemTimeMac.cpp; sourceTree = "<group>"; };
 		658436850AE01B7400E53753 /* FrameLoadRequest.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = FrameLoadRequest.h; sourceTree = "<group>"; };
 		6593923509AE4346002C531F /* KURL.cpp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.cpp.cpp; path = KURL.cpp; sourceTree = "<group>"; };
 		6593923609AE4346002C531F /* KURL.h */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.c.h; path = KURL.h; sourceTree = "<group>"; };
@@ -9369,7 +9366,6 @@
 		93E2425E0B2B509500C732A1 /* HTMLFrameOwnerElement.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = HTMLFrameOwnerElement.cpp; sourceTree = "<group>"; };
 		93E2A304123E9DC0009FE12A /* HTMLParserIdioms.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = HTMLParserIdioms.cpp; path = parser/HTMLParserIdioms.cpp; sourceTree = "<group>"; };
 		93E2A305123E9DC0009FE12A /* HTMLParserIdioms.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = HTMLParserIdioms.h; path = parser/HTMLParserIdioms.h; sourceTree = "<group>"; };
-		93E62D990985F41600E1B5E3 /* SystemTime.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SystemTime.h; sourceTree = "<group>"; };
 		93EB169409F880B00091F8FF /* WebCoreSystemInterface.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = WebCoreSystemInterface.mm; sourceTree = "<group>"; };
 		93EB169609F880C00091F8FF /* WebCoreSystemInterface.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WebCoreSystemInterface.h; sourceTree = "<group>"; };
 		93EB355E09E37FD600F43799 /* MouseEventWithHitTestResults.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MouseEventWithHitTestResults.cpp; sourceTree = "<group>"; };
@@ -14662,7 +14658,6 @@
 				4B3043C80AE0371D00A82647 /* SoundMac.mm */,
 				84B2B24F056BF15F00D2B771 /* SSLKeyGeneratorMac.cpp */,
 				93B2D8170F9920EE006AE6B2 /* SuddenTermination.mm */,
-				6582A15509999D6D00BEEB6D /* SystemTimeMac.cpp */,
 				5DA97ECB168E787B000E3676 /* SystemVersionMac.h */,
 				5DA97ECC168E787B000E3676 /* SystemVersionMac.mm */,
 				BCE659E50EA92FB2007E4533 /* ThemeMac.h */,
@@ -19430,7 +19425,6 @@
 				F587866202DE3B1101EA4122 /* SSLKeyGenerator.h */,
 				93B2D8150F9920D2006AE6B2 /* SuddenTermination.h */,
 				97627B9714FB5424002CDCA1 /* Supplementable.h */,
-				93E62D990985F41600E1B5E3 /* SystemTime.h */,
 				BCE65D310EAD1211007E4533 /* Theme.cpp */,
 				BCE658FE0EA9248A007E4533 /* Theme.h */,
 				BCE659A80EA927B9007E4533 /* ThemeTypes.h */,
@@ -23773,7 +23767,6 @@
 				8485228B1190173C006EDC7F /* SVGVKernElement.h in Headers */,
 				B2227AF60D00BF220071B782 /* SVGZoomAndPan.h in Headers */,
 				B2E4EC980D00C22B00432643 /* SVGZoomEvent.h in Headers */,
-				93E62D9B0985F41600E1B5E3 /* SystemTime.h in Headers */,
 				5DA97ECD168E787B000E3676 /* SystemVersionMac.h in Headers */,
 				A8CFF0510A154F09000A4234 /* TableLayout.h in Headers */,
 				BCE3BEC30D222B1D007E06E4 /* TagNodeList.h in Headers */,
@@ -26791,7 +26784,6 @@
 				8485228A1190173C006EDC7F /* SVGVKernElement.cpp in Sources */,
 				B2227AF50D00BF220071B782 /* SVGZoomAndPan.cpp in Sources */,
 				B2E4EC970D00C22B00432643 /* SVGZoomEvent.cpp in Sources */,
-				6582A16309999D6D00BEEB6D /* SystemTimeMac.cpp in Sources */,
 				5DA97ECE168E787B000E3676 /* SystemVersionMac.mm in Sources */,
 				BCE3BEC20D222B1D007E06E4 /* TagNodeList.cpp in Sources */,
 				F55B3DD51251F12D003EF269 /* TelephoneInputType.cpp in Sources */,

Modified: trunk/Source/WebCore/history/PageCache.cpp (150215 => 150216)


--- trunk/Source/WebCore/history/PageCache.cpp	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/history/PageCache.cpp	2013-05-17 00:06:10 UTC (rev 150216)
@@ -48,7 +48,6 @@
 #include "Page.h"
 #include "Settings.h"
 #include "SharedWorkerRepository.h"
-#include "SystemTime.h"
 #include <wtf/CurrentTime.h>
 #include <wtf/text/CString.h>
 #include <wtf/text/StringConcatenate.h>

Deleted: trunk/Source/WebCore/platform/SystemTime.h (150215 => 150216)


--- trunk/Source/WebCore/platform/SystemTime.h	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/platform/SystemTime.h	2013-05-17 00:06:10 UTC (rev 150216)
@@ -1,36 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#ifndef SystemTime_h
-#define SystemTime_h
-
-namespace WebCore {
-
-    // Return the number of seconds since a user event has been generated
-    float userIdleTime();
-    
-}
-
-#endif

Deleted: trunk/Source/WebCore/platform/blackberry/SystemTimeBlackBerry.cpp (150215 => 150216)


--- trunk/Source/WebCore/platform/blackberry/SystemTimeBlackBerry.cpp	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/platform/blackberry/SystemTimeBlackBerry.cpp	2013-05-17 00:06:10 UTC (rev 150216)
@@ -1,35 +0,0 @@
-/*
- * Copyright (C) 2009, 2010, 2011 Research In Motion Limited. All rights reserved.
- *
- * This library is free software; you can redistribute it and/or
- * modify it under the terms of the GNU Library General Public
- * License as published by the Free Software Foundation; either
- * version 2 of the License, or (at your option) any later version.
- *
- * This library is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * Library General Public License for more details.
- *
- * You should have received a copy of the GNU Library General Public License
- * along with this library; see the file COPYING.LIB.  If not, write to
- * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
- * Boston, MA 02110-1301, USA.
- */
-
-#include "config.h"
-#include "SystemTime.h"
-
-#include "NotImplemented.h"
-#include <limits>
-
-namespace WebCore {
-
-float userIdleTime()
-{
-    notImplemented();
-    // return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed.
-    return std::numeric_limits<float>::max();
-}
-
-} // namespace WebCore

Deleted: trunk/Source/WebCore/platform/efl/SystemTimeEfl.cpp (150215 => 150216)


--- trunk/Source/WebCore/platform/efl/SystemTimeEfl.cpp	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/platform/efl/SystemTimeEfl.cpp	2013-05-17 00:06:10 UTC (rev 150216)
@@ -1,41 +0,0 @@
-/*
- * Copyright (C) 2009 Apple Inc. All Rights Reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 
- */
-
-#include "config.h"
-#include "SystemTime.h"
-
-#include "NotImplemented.h"
-#include <limits>
-
-namespace WebCore {
-
-float userIdleTime()
-{
-    notImplemented();
-    // Return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed.
-    return std::numeric_limits<float>::max();
-}
-
-} // namespace WebCore

Modified: trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp (150215 => 150216)


--- trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/platform/graphics/ca/GraphicsLayerCA.cpp	2013-05-17 00:06:10 UTC (rev 150216)
@@ -37,7 +37,6 @@
 #include "PlatformCALayer.h"
 #include "RotateTransformOperation.h"
 #include "ScaleTransformOperation.h"
-#include "SystemTime.h"
 #include "TextStream.h"
 #include "TiledBacking.h"
 #include "TransformState.h"

Deleted: trunk/Source/WebCore/platform/mac/SystemTimeMac.cpp (150215 => 150216)


--- trunk/Source/WebCore/platform/mac/SystemTimeMac.cpp	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/platform/mac/SystemTimeMac.cpp	2013-05-17 00:06:10 UTC (rev 150216)
@@ -1,39 +0,0 @@
-/*
- * Copyright (C) 2006 Apple Computer, Inc.  All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "SystemTime.h"
-
-#include <CoreGraphics/CGEventSource.h>
-#include <CoreFoundation/CFDate.h>
-
-namespace WebCore {
-
-float userIdleTime()
-{
-    return static_cast<float>(CGEventSourceSecondsSinceLastEventType(kCGEventSourceStateCombinedSessionState, kCGAnyInputEventType));
-}
-
-}

Modified: trunk/Source/WebCore/platform/qt/TemporaryLinkStubsQt.cpp (150215 => 150216)


--- trunk/Source/WebCore/platform/qt/TemporaryLinkStubsQt.cpp	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/platform/qt/TemporaryLinkStubsQt.cpp	2013-05-17 00:06:10 UTC (rev 150216)
@@ -59,7 +59,6 @@
 #include "PluginView.h"
 #include "RenderTheme.h"
 #include "SharedBuffer.h"
-#include "SystemTime.h"
 #include "TextBoundaries.h"
 #include "Widget.h"
 
@@ -110,15 +109,6 @@
     return String();
 }
 
-#if !defined(Q_OS_WIN)
-// defined in win/SystemTimeWin.cpp, which is compiled for the Qt/Windows port
-float userIdleTime()
-{
-    notImplemented();
-    return FLT_MAX; // return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed
-}
-#endif
-
 void setCookieStoragePrivateBrowsingEnabled(bool)
 {
     notImplemented();

Deleted: trunk/Source/WebCore/platform/win/SystemTimeWin.cpp (150215 => 150216)


--- trunk/Source/WebCore/platform/win/SystemTimeWin.cpp	2013-05-17 00:04:06 UTC (rev 150215)
+++ trunk/Source/WebCore/platform/win/SystemTimeWin.cpp	2013-05-17 00:06:10 UTC (rev 150216)
@@ -1,46 +0,0 @@
-/*
- * Copyright (C) 2006, 2007 Apple Inc. All rights reserved.
- *
- * Redistribution and use in source and binary forms, with or without
- * modification, are permitted provided that the following conditions
- * are met:
- * 1. Redistributions of source code must retain the above copyright
- *    notice, this list of conditions and the following disclaimer.
- * 2. Redistributions in binary form must reproduce the above copyright
- *    notice, this list of conditions and the following disclaimer in the
- *    documentation and/or other materials provided with the distribution.
- *
- * THIS SOFTWARE IS PROVIDED BY APPLE COMPUTER, INC. ``AS IS'' AND ANY
- * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL APPLE COMPUTER, INC. OR
- * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
- * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
- * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
- * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
- * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
- * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
- * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
- */
-
-#include "config.h"
-#include "SystemTime.h"
-
-#include <limits>
-#include <windows.h>
-
-namespace WebCore {
-
-float userIdleTime()
-{
-#if !OS(WINCE)
-    LASTINPUTINFO lastInputInfo;
-    lastInputInfo.cbSize = sizeof(LASTINPUTINFO);
-    if (::GetLastInputInfo(&lastInputInfo))
-        return (GetTickCount() - lastInputInfo.dwTime) * 0.001; // ::GetTickCount returns ms of uptime valid for up to 49.7 days.
-#endif
-    // Return an arbitrarily high userIdleTime so that releasing pages from the page cache isn't postponed.
-    return std::numeric_limits<float>::max();
-}
-
-} // namespace WebCore
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to