summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authordarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 05:21:03 +0000
committerdarin@chromium.org <darin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-03-04 05:21:03 +0000
commit9da0af9f44d74b12367de55741329d74ee5c82a5 (patch)
tree49de88ecebc910d59bd9a02a86816c252c43086a /webkit
parenta3e81a6be2fbe18f9291d1280eacb88aebe7fbe0 (diff)
downloadchromium_src-9da0af9f44d74b12367de55741329d74ee5c82a5.zip
chromium_src-9da0af9f44d74b12367de55741329d74ee5c82a5.tar.gz
chromium_src-9da0af9f44d74b12367de55741329d74ee5c82a5.tar.bz2
revert r10867 since it had no impact on page load perf
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10869 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit')
-rw-r--r--webkit/build/JavaScriptCore/WTF.vcproj4
-rw-r--r--webkit/build/WebKit/WebKit.vcproj4
-rw-r--r--webkit/glue/webkitclient_impl.cc9
3 files changed, 4 insertions, 13 deletions
diff --git a/webkit/build/JavaScriptCore/WTF.vcproj b/webkit/build/JavaScriptCore/WTF.vcproj
index 77c5799..502ca67 100644
--- a/webkit/build/JavaScriptCore/WTF.vcproj
+++ b/webkit/build/JavaScriptCore/WTF.vcproj
@@ -174,10 +174,6 @@
>
</File>
<File
- RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\CurrentTime.cpp"
- >
- </File>
- <File
RelativePath="..\..\..\third_party\WebKit\JavaScriptCore\wtf\Deque.h"
>
</File>
diff --git a/webkit/build/WebKit/WebKit.vcproj b/webkit/build/WebKit/WebKit.vcproj
index 78af05a..6b798b7 100644
--- a/webkit/build/WebKit/WebKit.vcproj
+++ b/webkit/build/WebKit/WebKit.vcproj
@@ -180,6 +180,10 @@
>
</File>
<File
+ RelativePath="..\..\..\third_party\WebKit\WebKit\chromium\src\ChromiumCurrentTime.cpp"
+ >
+ </File>
+ <File
RelativePath="..\..\..\third_party\WebKit\WebKit\chromium\src\ChromiumThreading.cpp"
>
</File>
diff --git a/webkit/glue/webkitclient_impl.cc b/webkit/glue/webkitclient_impl.cc
index 745f27c..e726a6c 100644
--- a/webkit/glue/webkitclient_impl.cc
+++ b/webkit/glue/webkitclient_impl.cc
@@ -6,11 +6,6 @@
#include "base/message_loop.h"
-// HACK for testing purposes only. Just trying a change on the buildbots.
-#if defined(OS_WIN)
-namespace WTF { double currentTime(); }
-#endif
-
namespace webkit_glue {
WebKitClientImpl::WebKitClientImpl()
@@ -23,11 +18,7 @@ WebKit::WebClipboard* WebKitClientImpl::clipboard() {
}
double WebKitClientImpl::currentTime() {
-#if defined(OS_WIN)
- return WTF::currentTime();
-#else
return base::Time::Now().ToDoubleT();
-#endif
}
void WebKitClientImpl::setSharedTimerFiredFunction(void (*func)()) {