[WPE] WPEQtView.h includes the uninstalled WPEQtViewBackend.h
authorberto@igalia.com <berto@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Feb 2020 16:43:30 +0000 (16:43 +0000)
committerberto@igalia.com <berto@igalia.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 14 Feb 2020 16:43:30 +0000 (16:43 +0000)
https://bugs.webkit.org/show_bug.cgi?id=207765

Reviewed by Philippe Normand.

Do a forward declaration instead of including the header.

* UIProcess/API/wpe/qt/WPEQtView.cpp:
* UIProcess/API/wpe/qt/WPEQtView.h:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@256612 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebKit/ChangeLog
Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.cpp
Source/WebKit/UIProcess/API/wpe/qt/WPEQtView.h

index fb2bade..2f52fa3 100644 (file)
@@ -1,3 +1,15 @@
+2020-02-14  Alberto Garcia  <berto@igalia.com>
+
+        [WPE] WPEQtView.h includes the uninstalled WPEQtViewBackend.h
+        https://bugs.webkit.org/show_bug.cgi?id=207765
+
+        Reviewed by Philippe Normand.
+
+        Do a forward declaration instead of including the header.
+
+        * UIProcess/API/wpe/qt/WPEQtView.cpp:
+        * UIProcess/API/wpe/qt/WPEQtView.h:
+
 2020-02-13  Kate Cheney  <katherine_cheney@apple.com>
 
         Expose prevalent domains on a per-page basis
index 970444b..91d2418 100644 (file)
@@ -21,6 +21,7 @@
 #include "config.h"
 #include "WPEQtView.h"
 
+#include "WPEQtViewBackend.h"
 #include "WPEQtViewLoadRequest.h"
 #include "WPEQtViewLoadRequestPrivate.h"
 #include <QGuiApplication>
index 0f282bd..87ec527 100644 (file)
@@ -22,7 +22,6 @@
 
 #include "config.h"
 
-#include "WPEQtViewBackend.h"
 #include <QQmlEngine>
 #include <QQuickItem>
 #include <QUrl>
@@ -30,6 +29,7 @@
 #include <wpe/webkit.h>
 #include <wtf/glib/GRefPtr.h>
 
+class WPEQtViewBackend;
 class WPEQtViewLoadRequest;
 
 class WPEQtView : public QQuickItem {