diff options
Diffstat (limited to 'src/3rdparty/webkit/WebCore/bindings/js/ScriptString.h')
-rw-r--r-- | src/3rdparty/webkit/WebCore/bindings/js/ScriptString.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/3rdparty/webkit/WebCore/bindings/js/ScriptString.h b/src/3rdparty/webkit/WebCore/bindings/js/ScriptString.h index 3efa1604ba..6dab9a00a2 100644 --- a/src/3rdparty/webkit/WebCore/bindings/js/ScriptString.h +++ b/src/3rdparty/webkit/WebCore/bindings/js/ScriptString.h @@ -32,7 +32,6 @@ #define ScriptString_h #include "PlatformString.h" -#include <runtime/JSLock.h> #include <runtime/UString.h> namespace WebCore { @@ -52,27 +51,23 @@ public: ScriptString& operator=(const char* s) { - JSC::JSLock lock(false); m_str = s; return *this; } ScriptString& operator+=(const String& s) { - JSC::JSLock lock(false); m_str += s; return *this; } bool operator==(const ScriptString& s) const { - JSC::JSLock lock(false); return m_str == s.m_str; } bool operator!=(const ScriptString& s) const { - JSC::JSLock lock(false); // Avoid exporting an extra symbol by re-using "==" operator. return !(m_str == s.m_str); } |