summaryrefslogtreecommitdiffstats
path: root/WebKit/android/WebCoreSupport/WebRequestContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'WebKit/android/WebCoreSupport/WebRequestContext.cpp')
-rw-r--r--WebKit/android/WebCoreSupport/WebRequestContext.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/WebKit/android/WebCoreSupport/WebRequestContext.cpp b/WebKit/android/WebCoreSupport/WebRequestContext.cpp
index 223cd8d..0e785cb 100644
--- a/WebKit/android/WebCoreSupport/WebRequestContext.cpp
+++ b/WebKit/android/WebCoreSupport/WebRequestContext.cpp
@@ -111,10 +111,7 @@ WebRequestContext* WebRequestContext::getImpl(bool isPrivateBrowsing)
WebRequestContext* WebRequestContext::getRegularContext()
{
- static WTF::Mutex regularContextMutex;
static scoped_refptr<WebRequestContext> regularContext(0);
-
- MutexLocker lock(regularContextMutex);
if (!regularContext)
regularContext = getImpl(false);
return regularContext;