Title: [145895] trunk/Source/WebKit/qt
Revision
145895
Author
hausm...@webkit.org
Date
2013-03-15 04:07:12 -0700 (Fri, 15 Mar 2013)

Log Message

[Qt] Unreviewed trivial DRT ASSERT fix

r145805 erroneously added setController calls for device orientation/motion
mock clients. Those ASSERT, the controller ctor already calls setController
on the client.

* WebCoreSupport/QWebPageAdapter.cpp:
(QWebPageAdapter::initializeWebCorePage):

Modified Paths

Diff

Modified: trunk/Source/WebKit/qt/ChangeLog (145894 => 145895)


--- trunk/Source/WebKit/qt/ChangeLog	2013-03-15 10:46:10 UTC (rev 145894)
+++ trunk/Source/WebKit/qt/ChangeLog	2013-03-15 11:07:12 UTC (rev 145895)
@@ -1,3 +1,14 @@
+2013-03-15  Simon Hausmann  <simon.hausm...@digia.com>
+
+        [Qt] Unreviewed trivial DRT ASSERT fix
+
+        r145805 erroneously added setController calls for device orientation/motion
+        mock clients. Those ASSERT, the controller ctor already calls setController
+        on the client.
+
+        * WebCoreSupport/QWebPageAdapter.cpp:
+        (QWebPageAdapter::initializeWebCorePage):
+
 2013-03-14  Manuel Rego Casasnovas  <r...@igalia.com>
 
         Add selectTrailingWhitespaceEnabled setting to WebCore::Page

Modified: trunk/Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp (145894 => 145895)


--- trunk/Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp	2013-03-15 10:46:10 UTC (rev 145894)
+++ trunk/Source/WebKit/qt/WebCoreSupport/QWebPageAdapter.cpp	2013-03-15 11:07:12 UTC (rev 145895)
@@ -208,11 +208,9 @@
     if (useMock) {
         DeviceOrientationClientMock* mockOrientationClient = new DeviceOrientationClientMock;
         WebCore::provideDeviceOrientationTo(page, mockOrientationClient);
-        mockOrientationClient->setController(WebCore::DeviceOrientationController::from(page));
 
         DeviceMotionClientMock* mockMotionClient= new DeviceMotionClientMock;
         WebCore::provideDeviceMotionTo(page, mockMotionClient);
-        mockMotionClient->setController(WebCore::DeviceMotionController::from(page));
     }
 #if HAVE(QTSENSORS)
     else {
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to