summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/chromium/src/WebKit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/chromium/src/WebKit.cpp')
-rw-r--r--Source/WebKit/chromium/src/WebKit.cpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/Source/WebKit/chromium/src/WebKit.cpp b/Source/WebKit/chromium/src/WebKit.cpp
index cadcb6c..d130dd5 100644
--- a/Source/WebKit/chromium/src/WebKit.cpp
+++ b/Source/WebKit/chromium/src/WebKit.cpp
@@ -31,10 +31,10 @@
#include "config.h"
#include "WebKit.h"
-#include "DOMTimer.h"
#include "Logging.h"
#include "Page.h"
#include "RuntimeEnabledFeatures.h"
+#include "Settings.h"
#include "TextEncoding.h"
#include "WebMediaPlayerClientImpl.h"
#include "WebSocket.h"
@@ -66,13 +66,6 @@ void initialize(WebKitClient* webKitClient)
WTF::initializeMainThread();
WTF::AtomicString::init();
- // Chromium sets the minimum interval timeout to 4ms, overriding the
- // default of 10ms. We'd like to go lower, however there are poorly
- // coded websites out there which do create CPU-spinning loops. Using
- // 4ms prevents the CPU from spinning too busily and provides a balance
- // between CPU spinning and the smallest possible interval timer.
- WebCore::DOMTimer::setMinTimerInterval(0.004);
-
// There are some code paths (for example, running WebKit in the browser
// process and calling into LocalStorage before anything else) where the
// UTF8 string encoding tables are used on a background thread before