summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebkit/files/qtwebkit-fixes.patch
blob: a34c48100854f00446d640cc1adf53da213786ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
diff -Nur a/Source/WebKit/PlatformQt.cmake b/Source/WebKit/PlatformQt.cmake
--- a/Source/WebKit/PlatformQt.cmake	2017-06-09 15:11:36.000000000 +0100
+++ b/Source/WebKit/PlatformQt.cmake	2018-04-26 20:40:30.062720394 +0100
@@ -786,6 +786,7 @@
     set_source_files_properties(
         qt/Api/qwebdatabase.cpp
         qt/Api/qwebelement.cpp
+        qt/Api/qwebfullscreenrequest.cpp
         qt/Api/qwebhistory.cpp
         qt/Api/qwebhistoryinterface.cpp
         qt/Api/qwebpluginfactory.cpp
@@ -795,7 +796,6 @@
 
         qt/WidgetApi/qgraphicswebview.cpp
         qt/WidgetApi/qwebframe.cpp
-        qt/WidgetApi/qwebfullscreenrequest.cpp
         qt/WidgetApi/qwebinspector.cpp
         qt/WidgetApi/qwebpage.cpp
         qt/WidgetApi/qwebview.cpp
diff -Nur a/Source/WebKit/qt/WebCoreSupport/QWebFrameAdapter.cpp b/Source/WebKit/qt/WebCoreSupport/QWebFrameAdapter.cpp
--- a/Source/WebKit/qt/WebCoreSupport/QWebFrameAdapter.cpp	2017-06-04 21:16:07.000000000 +0100
+++ b/Source/WebKit/qt/WebCoreSupport/QWebFrameAdapter.cpp	2018-04-26 20:41:32.399699229 +0100
@@ -961,6 +961,8 @@
     FrameView* view = frame->view();
     ASSERT(view);
     view->resize(size);
+    if (view->needsLayout())
+        view->layout();
     view->adjustViewSize();
 }