From 3da82d46e37bfa53343f07321779377499c5572f Mon Sep 17 00:00:00 2001 From: reed-at-google Date: Tue, 22 Jan 2019 10:08:55 -0500 Subject: [PATCH] IWYU, esp. since SkFontMetrics.h is leaving SkPaint.h (flutter/engine#7545) --- engine/src/flutter/third_party/txt/src/txt/paint_record.h | 2 +- engine/src/flutter/third_party/txt/src/txt/paragraph.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/engine/src/flutter/third_party/txt/src/txt/paint_record.h b/engine/src/flutter/third_party/txt/src/txt/paint_record.h index d78cd621ae..13f2b2311d 100644 --- a/engine/src/flutter/third_party/txt/src/txt/paint_record.h +++ b/engine/src/flutter/third_party/txt/src/txt/paint_record.h @@ -20,7 +20,7 @@ #include "flutter/fml/logging.h" #include "flutter/fml/macros.h" #include "text_style.h" -#include "third_party/skia/include/core/SkPaint.h" +#include "third_party/skia/include/core/SkFontMetrics.h" #include "third_party/skia/include/core/SkTextBlob.h" namespace txt { diff --git a/engine/src/flutter/third_party/txt/src/txt/paragraph.h b/engine/src/flutter/third_party/txt/src/txt/paragraph.h index 8195b5e353..7cee95379d 100644 --- a/engine/src/flutter/third_party/txt/src/txt/paragraph.h +++ b/engine/src/flutter/third_party/txt/src/txt/paragraph.h @@ -29,6 +29,7 @@ #include "paragraph_style.h" #include "styled_runs.h" #include "third_party/googletest/googletest/include/gtest/gtest_prod.h" // nogncheck +#include "third_party/skia/include/core/SkFontMetrics.h" #include "third_party/skia/include/core/SkRect.h" #include "utils/WindowsUtils.h"