Changeset 90952 in webkit
- Timestamp:
- Jul 13, 2011 2:51:14 PM (13 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r90949 r90952 1 2011-07-13 James Robinson <jamesr@chromium.org> 2 3 [chromium] No implementation defined for WTF::monotonicallyIncreasingTime 4 https://bugs.webkit.org/show_bug.cgi?id=64420 5 6 Reviewed by Tony Gentilcore. 7 8 Removes some redundant time related code. 9 10 * platform/chromium/PlatformBridge.h: 11 * platform/chromium/SystemTimeChromium.cpp: 12 (WebCore::userIdleTime): 13 1 14 2011-07-13 Vitaly Repeshko <vitalyr@chromium.org> 2 15 -
trunk/Source/WebCore/platform/chromium/PlatformBridge.h
r90497 r90952 247 247 static void suddenTerminationChanged(bool enabled); 248 248 249 // SystemTime ---------------------------------------------------------250 static double currentTime();251 static double monotonicallyIncreasingTime();252 253 249 // Theming ------------------------------------------------------------ 254 250 #if OS(WINDOWS) -
trunk/Source/WebCore/platform/chromium/SystemTimeChromium.cpp
r88745 r90952 33 33 34 34 #include "NotImplemented.h" 35 #include "PlatformBridge.h"36 #include <wtf/CurrentTime.h>37 35 38 36 namespace WebCore { 39 40 // Get the current time in seconds since epoch.41 double currentTime()42 {43 return PlatformBridge::currentTime();44 }45 46 double monotonicallyIncreasingTime()47 {48 return PlatformBridge::monotonicallyIncreasingTime();49 }50 37 51 38 float userIdleTime() … … 53 40 // Needed for back/forward cache, which we currently have disabled. 54 41 notImplemented(); 55 return 0 .0F;42 return 0; 56 43 } 57 44 -
trunk/Source/WebKit/chromium/ChangeLog
r90905 r90952 1 2011-07-13 James Robinson <jamesr@chromium.org> 2 3 [chromium] No implementation defined for WTF::monotonicallyIncreasingTime 4 https://bugs.webkit.org/show_bug.cgi?id=64420 5 6 Reviewed by Tony Gentilcore. 7 8 Provides an implementation of WTF::monotonicallyIncreasingTime() alongside the implementation of 9 WTF::currentTime(). 10 11 * src/ChromiumCurrentTime.cpp: 12 (WTF::monotonicallyIncreasingTime): 13 * src/PlatformBridge.cpp: 14 1 15 2011-07-13 Vsevolod Vlasov <vsevik@chromium.org> 2 16 -
trunk/Source/WebKit/chromium/src/ChromiumCurrentTime.cpp
r50741 r90952 42 42 } 43 43 44 double monotonicallyIncreasingTime() 45 { 46 return WebKit::webKitClient()->monotonicallyIncreasingTime(); 47 } 48 44 49 } // namespace WTF -
trunk/Source/WebKit/chromium/src/PlatformBridge.cpp
r90497 r90952 703 703 { 704 704 webKitClient()->suddenTerminationChanged(enabled); 705 }706 707 // SystemTime -----------------------------------------------------------------708 709 double PlatformBridge::currentTime()710 {711 return webKitClient()->currentTime();712 }713 714 double PlatformBridge::monotonicallyIncreasingTime()715 {716 return webKitClient()->monotonicallyIncreasingTime();717 705 } 718 706
Note: See TracChangeset
for help on using the changeset viewer.