summaryrefslogtreecommitdiff
path: root/Source/WebCore
diff options
context:
space:
mode:
authorKonstantin Tokarev <annulen@yandex.ru>2019-10-01 20:15:25 +0300
committerKonstantin Tokarev <annulen@yandex.ru>2019-10-01 20:26:40 +0300
commitb47f584d07aec2d78ea4a5a5ccf2c761f44f5585 (patch)
tree656bf6f3fc91e985823748c30cfd65a1bff35c70 /Source/WebCore
parent3403d64c98fdeb6345d794ec0821929bf7cf1ec0 (diff)
downloadqtwebkit-b47f584d07aec2d78ea4a5a5ccf2c761f44f5585.tar.gz
Import QtWebKit commit 45c329ee23a9b898fe8e6f0b0ccef8680aab3098
Change-Id: Iebca31394d29eed00a48980825fdd70d93f04d86 Reviewed-by: Konstantin Tokarev <annulen@yandex.ru>
Diffstat (limited to 'Source/WebCore')
-rw-r--r--Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp b/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
index 6bf343087..72db3ebaf 100644
--- a/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
+++ b/Source/WebCore/platform/graphics/qt/GraphicsContextQt.cpp
@@ -1600,7 +1600,7 @@ void GraphicsContext::set3DTransform(const TransformationMatrix& transform)
void GraphicsContext::setURLForRect(const URL& url, const IntRect& rect)
{
-#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0)
+#if QT_VERSION >= QT_VERSION_CHECK(5, 6, 0) && !defined(QT_NO_PDF)
if (paintingDisabled())
return;