summaryrefslogtreecommitdiffstats
path: root/src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.cpp
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2010-02-10 11:18:39 (GMT)
committerSimon Hausmann <simon.hausmann@nokia.com>2010-02-10 11:18:39 (GMT)
commit72b510e78973e47c31ae60070cb74b41f291b1ec (patch)
tree4a803faa536d1ee8ed5780b016516f80bd797572 /src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.cpp
parentcaf93a2b6d3df012055ab70ad4bba1bb7b29141d (diff)
downloadQt-72b510e78973e47c31ae60070cb74b41f291b1ec.zip
Qt-72b510e78973e47c31ae60070cb74b41f291b1ec.tar.gz
Qt-72b510e78973e47c31ae60070cb74b41f291b1ec.tar.bz2
Updated WebKit from /home/shausman/src/webkit/trunk to qtwebkit/qtwebkit-4.6 ( ffae5e11181a3961193fa21ea405851cad714d4b )
Changes in WebKit/qt since the last update: * https://bugs.webkit.org/show_bug.cgi?id=34170 -- [Qt] Javascript undefined > 0 returns true on Symbian
Diffstat (limited to 'src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.cpp')
-rw-r--r--src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.cpp b/src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.cpp
index 699c1cd..502312c 100644
--- a/src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.cpp
+++ b/src/3rdparty/webkit/JavaScriptCore/runtime/JSValue.cpp
@@ -174,7 +174,11 @@ uint32_t toUInt32SlowCase(double d, bool& ok)
NEVER_INLINE double nonInlineNaN()
{
+#if OS(SYMBIAN)
+ return nanval();
+#else
return std::numeric_limits<double>::quiet_NaN();
+#endif
}
} // namespace JSC