mirror of
https://github.com/termux/termux-packages.git
synced 2025-05-12 02:03:08 +00:00
53 lines
1.6 KiB
Diff
53 lines
1.6 KiB
Diff
--- a/chromium/patches/chromium/0014-Move-Skia-text-rendering-control-to-bridge.patch
|
|
+++ b/chromium/patches/chromium/0014-Move-Skia-text-rendering-control-to-bridge.patch
|
|
@@ -12,7 +12,7 @@
|
|
index 379cf6c58b2b0..891efd6a9d796 100644
|
|
--- a/content/renderer/render_frame_impl.cc
|
|
+++ b/content/renderer/render_frame_impl.cc
|
|
-@@ -285,7 +285,6 @@
|
|
+@@ -285,11 +285,10 @@
|
|
#include "third_party/skia/include/svg/SkSVGCanvas.h"
|
|
#include "third_party/skia/include/utils/SkBase64.h"
|
|
#include "third_party/skia/src/text/GlyphRun.h"
|
|
@@ -20,7 +20,22 @@
|
|
#include "third_party/skia/src/core/SkClipStackDevice.h"
|
|
#include "third_party/skia/src/core/SkDevice.h"
|
|
#include "third_party/skia/src/core/SkFontPriv.h"
|
|
-@@ -2244,10 +2243,6 @@ void RenderFrameImpl::Initialize(blink::WebFrame* parent) {
|
|
+-#include "third_party/skia/src/utils/SkUTF.h"
|
|
++#include "third_party/skia/include/core/SkTypes.h"
|
|
+
|
|
+ using base::Time;
|
|
+ using blink::ContextMenuData;
|
|
+@@ -335,6 +334,9 @@
|
|
+ using blink::mojom::SelectionMenuBehavior;
|
|
+ using network::mojom::ReferrerPolicy;
|
|
+
|
|
++template <size_t size, typename T>
|
|
++using SkAutoSTArray = skia_private::AutoSTArray<size, T>;
|
|
++
|
|
+ namespace content {
|
|
+
|
|
+ namespace {
|
|
+@@ -2250,10 +2252,6 @@
|
|
);
|
|
|
|
host->ObserveTerminalRender(render_callback_);
|
|
@@ -35,12 +35,12 @@
|
|
index b330273c16db3..297ffacf073fa 100644
|
|
--- a/skia/BUILD.gn
|
|
+++ b/skia/BUILD.gn
|
|
-@@ -203,7 +203,7 @@ source_set("skcms") {
|
|
+@@ -205,7 +205,7 @@
|
|
}
|
|
|
|
component("skia") {
|
|
- deps = []
|
|
+ deps = [ "//carbonyl/src/browser:bridge" ]
|
|
- sources = [
|
|
- # Chrome sources.
|
|
- "config/SkUserConfig.h",
|
|
+ public = [
|
|
+ "ext/benchmarking_canvas.h",
|
|
+ "ext/cicp.h",
|