Title: [98085] trunk/Source
Revision
98085
Author
o...@webkit.org
Date
2011-10-21 01:40:06 -0700 (Fri, 21 Oct 2011)

Log Message

[Qt][WK2] Unreviewed buildfix for newer Qt5. Remove duplicated defines.

Source/WebKit/qt:

* tests/util.h:
(waitForSignal):

Source/WebKit2:

* UIProcess/API/qt/tests/util.h:

Modified Paths

Diff

Modified: trunk/Source/WebKit/qt/ChangeLog (98084 => 98085)


--- trunk/Source/WebKit/qt/ChangeLog	2011-10-21 08:32:01 UTC (rev 98084)
+++ trunk/Source/WebKit/qt/ChangeLog	2011-10-21 08:40:06 UTC (rev 98085)
@@ -1,3 +1,10 @@
+2011-10-21  Csaba Osztrogonác  <o...@webkit.org>
+
+        [Qt][WK2] Unreviewed buildfix for newer Qt5. Remove duplicated defines.
+
+        * tests/util.h:
+        (waitForSignal):
+
 2011-10-20  Carol Szabo  <ca...@webkit.org>
 
         Tiled Backing Store does not regenerate tiles when it should

Modified: trunk/Source/WebKit/qt/tests/util.h (98084 => 98085)


--- trunk/Source/WebKit/qt/tests/util.h	2011-10-21 08:32:01 UTC (rev 98084)
+++ trunk/Source/WebKit/qt/tests/util.h	2011-10-21 08:40:06 UTC (rev 98085)
@@ -48,31 +48,3 @@
     loop.exec();
     return timeoutSpy.isEmpty();
 }
-
-// Will try to wait for the condition while allowing event processing
-#define QTRY_VERIFY(__expr) \
-    do { \
-        const int __step = 50; \
-        const int __timeout = 5000; \
-        if (!(__expr)) { \
-            QTest::qWait(0); \
-        } \
-        for (int __i = 0; __i < __timeout && !(__expr); __i+=__step) { \
-            QTest::qWait(__step); \
-        } \
-        QVERIFY(__expr); \
-    } while(0)
-
-// Will try to wait for the condition while allowing event processing
-#define QTRY_COMPARE(__expr, __expected) \
-    do { \
-        const int __step = 50; \
-        const int __timeout = 5000; \
-        if ((__expr) != (__expected)) { \
-            QTest::qWait(0); \
-        } \
-        for (int __i = 0; __i < __timeout && ((__expr) != (__expected)); __i+=__step) { \
-            QTest::qWait(__step); \
-        } \
-        QCOMPARE(__expr, __expected); \
-    } while(0)

Modified: trunk/Source/WebKit2/ChangeLog (98084 => 98085)


--- trunk/Source/WebKit2/ChangeLog	2011-10-21 08:32:01 UTC (rev 98084)
+++ trunk/Source/WebKit2/ChangeLog	2011-10-21 08:40:06 UTC (rev 98085)
@@ -1,3 +1,9 @@
+2011-10-21  Csaba Osztrogonác  <o...@webkit.org>
+
+        [Qt][WK2] Unreviewed buildfix for newer Qt5. Remove duplicated defines.
+
+        * UIProcess/API/qt/tests/util.h:
+
 2011-10-21  Carlos Garcia Campos  <cgar...@igalia.com>
 
         [GTK] Add can_go_back/forward methods to WebKit2 GTK+ API

Modified: trunk/Source/WebKit2/UIProcess/API/qt/tests/util.h (98084 => 98085)


--- trunk/Source/WebKit2/UIProcess/API/qt/tests/util.h	2011-10-21 08:32:01 UTC (rev 98084)
+++ trunk/Source/WebKit2/UIProcess/API/qt/tests/util.h	2011-10-21 08:40:06 UTC (rev 98085)
@@ -28,31 +28,3 @@
 
 void addQtWebProcessToPath();
 bool waitForSignal(QObject*, const char* signal, int timeout = 10000);
-
-// Will try to wait for the condition while allowing event processing
-#define QTRY_VERIFY(__expr) \
-    do { \
-        const int __step = 50; \
-        const int __timeout = 5000; \
-        if (!(__expr)) { \
-            QTest::qWait(0); \
-        } \
-        for (int __i = 0; __i < __timeout && !(__expr); __i+=__step) { \
-            QTest::qWait(__step); \
-        } \
-        QVERIFY(__expr); \
-    } while(0)
-
-// Will try to wait for the condition while allowing event processing
-#define QTRY_COMPARE(__expr, __expected) \
-    do { \
-        const int __step = 50; \
-        const int __timeout = 5000; \
-        if ((__expr) != (__expected)) { \
-            QTest::qWait(0); \
-        } \
-        for (int __i = 0; __i < __timeout && ((__expr) != (__expected)); __i+=__step) { \
-            QTest::qWait(__step); \
-        } \
-        QCOMPARE(__expr, __expected); \
-    } while(0)
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to