summaryrefslogtreecommitdiff
path: root/dev-qt/qtwebkit/files/qtwebkit-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-qt/qtwebkit/files/qtwebkit-fixes.patch')
-rw-r--r--dev-qt/qtwebkit/files/qtwebkit-fixes.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/dev-qt/qtwebkit/files/qtwebkit-fixes.patch b/dev-qt/qtwebkit/files/qtwebkit-fixes.patch
new file mode 100644
index 00000000..a34c4810
--- /dev/null
+++ b/dev-qt/qtwebkit/files/qtwebkit-fixes.patch
@@ -0,0 +1,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();
+ }
+