| commit | eec0143e740268988fb7853e75be7426a6402df5 | [log] [tgz] |
|---|---|---|
| author | K. Moon <kmoon@chromium.org> | Tue Mar 07 15:28:29 2023 +0000 |
| committer | Pdfium LUCI CQ <pdfium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 07 15:28:29 2023 +0000 |
| tree | de7479e9ad0d749f9355adc93aa8bad1d987052a | |
| parent | 52bc7bd486e233ea8029f458b6bb1b117f5f0003 [diff] |
[Skia] Eagerly flush text Flushes text eagerly to Skia. This has no effect on the output, but demonstrates that we can switch to eager flushing for both paths and text without negative effects, before we get rid of lazy flushing entirely. Bug: pdfium:1963 Change-Id: Iddb5cb65e3a74e03398aae7bd6fb6120b177cc67 Reviewed-on: https://pdfium-review.googlesource.com/c/pdfium/+/104396 Commit-Queue: K. Moon <kmoon@chromium.org> Reviewed-by: Nigi <nigi@chromium.org>
diff --git a/core/fxge/skia/fx_skia_device.cpp b/core/fxge/skia/fx_skia_device.cpp index a73189b..171c3fc 100644 --- a/core/fxge/skia/fx_skia_device.cpp +++ b/core/fxge/skia/fx_skia_device.cpp
@@ -1030,6 +1030,7 @@ } // TODO(crbug.com/pdfium/1963): Simplify code assuming eager flushing. + Flush(); return true; }