Commit 38db4a8e authored by eric@webkit.org's avatar eric@webkit.org
Browse files

2010-05-20 Janne Koskinen <janne.p.koskinen@digia.com>

        Reviewed by Kenneth Rohde Christiansen.

        [Qt] WINSCW compile fix for qwebframe test
        https://bugs.webkit.org/show_bug.cgi?id=38722

        WINSCW cannot determine template type up the hierarchy
        to common base class.

        * tests/qwebframe/tst_qwebframe.cpp:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@59838 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent c7c442b5
2010-05-20 Janne Koskinen <janne.p.koskinen@digia.com>
Reviewed by Kenneth Rohde Christiansen.
[Qt] WINSCW compile fix for qwebframe test
https://bugs.webkit.org/show_bug.cgi?id=38722
WINSCW cannot determine template type up the hierarchy
to common base class.
* tests/qwebframe/tst_qwebframe.cpp:
2010-05-20 Laszlo Gombos <laszlo.1.gombos@nokia.com>
 
Reviewed by Kenneth Rohde Christiansen.
......
......@@ -785,7 +785,7 @@ void tst_QWebFrame::getSetStaticProperty()
QCOMPARE(vm.size(), 3);
QCOMPARE(vm.value("a").toInt(), 123);
QCOMPARE(vm.value("b").toString(), QLatin1String("foo"));
QCOMPARE(vm.value("c").value<QObject*>(), m_myObject);
QCOMPARE(vm.value("c").value<QObject*>(), static_cast<QObject*>(m_myObject));
}
QCOMPARE(evalJS("myObject.variantMapProperty.a === 123"), sTrue);
QCOMPARE(evalJS("myObject.variantMapProperty.b === 'foo'"), sTrue);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment