diff options
author | Samuli Piippo <samuli.piippo@qt.io> | 2018-07-04 10:20:19 +0300 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@qt.io> | 2018-08-08 06:27:24 +0000 |
commit | 44538bd408cc7d82b858146b759024f5e38e64cc (patch) | |
tree | 380aeaab5e6f246501496f40fa2d1573bff80e85 /recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch | |
parent | 94d666a06730b93f16a4bd9ad8d5509d974e146c (diff) | |
download | meta-qt5-44538bd408cc7d82b858146b759024f5e38e64cc.tar.gz |
Upgrade to Qt 5.12.0
Change-Id: I83beaa146a88bf6138e11c87a3308db38d9afd34
Reviewed-by: Mikko Gronoff <mikko.gronoff@qt.io>
Diffstat (limited to 'recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch')
-rw-r--r-- | recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch b/recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch index 0b79599d..7cd441e6 100644 --- a/recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch +++ b/recipes-qt/qt5/qtwebengine/0004-chromium_overrides.cpp-Fix-build-with-plugins-and-oz.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 9e8b0fda6b2338feed486d238a61c2a51e4fd2b3 Mon Sep 17 00:00:00 2001 | 1 | From 2bf22a3bf04617f21497f80184bd038e11bc8b0d Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sun, 10 Jun 2018 10:26:17 +0000 | 3 | Date: Sun, 10 Jun 2018 10:26:17 +0000 |
4 | Subject: [PATCH] chromium_overrides.cpp: Fix build with plugins and ozone | 4 | Subject: [PATCH] chromium_overrides.cpp: Fix build with plugins and ozone |
@@ -36,15 +36,15 @@ Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com> | |||
36 | 1 file changed, 1 insertion(+), 1 deletion(-) | 36 | 1 file changed, 1 insertion(+), 1 deletion(-) |
37 | 37 | ||
38 | diff --git a/src/core/chromium_overrides.cpp b/src/core/chromium_overrides.cpp | 38 | diff --git a/src/core/chromium_overrides.cpp b/src/core/chromium_overrides.cpp |
39 | index 8f6687ff..994e2799 100644 | 39 | index f3b7d389..915d38fb 100644 |
40 | --- a/src/core/chromium_overrides.cpp | 40 | --- a/src/core/chromium_overrides.cpp |
41 | +++ b/src/core/chromium_overrides.cpp | 41 | +++ b/src/core/chromium_overrides.cpp |
42 | @@ -159,7 +159,7 @@ std::unique_ptr<base::ListValue> GetFontList_SlowBlocking() | 42 | @@ -134,7 +134,7 @@ std::unique_ptr<base::ListValue> GetFontList_SlowBlocking() |
43 | return std::move(font_list); | 43 | return std::move(font_list); |
44 | } | 44 | } |
45 | 45 | ||
46 | -#if BUILDFLAG(ENABLE_PLUGINS) | 46 | -#if QT_CONFIG(webengine_pepper_plugins) |
47 | +#if BUILDFLAG(ENABLE_PLUGINS) && !defined(USE_OZONE) | 47 | +#if QT_CONFIG(webengine_pepper_plugins) && !defined(USE_OZONE) |
48 | // content/browser/renderer_host/pepper/pepper_truetype_font_list.h | 48 | // content/browser/renderer_host/pepper/pepper_truetype_font_list.h |
49 | void GetFontFamilies_SlowBlocking(std::vector<std::string> *font_families) | 49 | void GetFontFamilies_SlowBlocking(std::vector<std::string> *font_families) |
50 | { | 50 | { |