[Webkit-unassigned] [Bug 38722] [Qt] qwebframe auto test doesn't compile

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri May 7 02:40:02 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=38722


Samuel Nevala <samuel.nevala at digia.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Depends on|38721                       |
             Blocks|                            |38721




--- Comment #1 from Samuel Nevala <samuel.nevala at digia.com>  2010-05-07 02:40:02 PST ---
Fix:
------- src/3rdparty/webkit/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp -------
index e3de123..d04a652 100644
@@ -780,7 +780,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);

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list