0

Reland "Always use Skia's analytic AA in pdf_unittests"

This is a reland of commit e208ae6d75

Original change's description:
> Always use Skia's analytic AA in pdf_unittests
>
> Bug: chromium:1421297
> Change-Id: I35588dbb41615f1707b10ffb694d1ea379cb3cda
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4307915
> Commit-Queue: Brian Osman <brianosman@google.com>
> Reviewed-by: K. Moon <kmoon@chromium.org>
> Cr-Commit-Position: refs/heads/main@{#1112940}

Bug: chromium:1421297
Change-Id: I257f47bd5471675ba8c23a6832f3eb06646343d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4312062
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: K. Moon <kmoon@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1113541}
This commit is contained in:
Brian Osman
2023-03-06 20:20:46 +00:00
committed by Chromium LUCI CQ
parent 7eb26cecf3
commit 5d9cebd66f
5 changed files with 3 additions and 0 deletions

Binary file not shown.

Before

(image error) Size: 54 KiB

After

(image error) Size: 53 KiB

Binary file not shown.

Before

(image error) Size: 52 KiB

After

(image error) Size: 51 KiB

Binary file not shown.

Before

(image error) Size: 523 B

After

(image error) Size: 534 B

Binary file not shown.

Before

(image error) Size: 523 B

After

(image error) Size: 534 B

@ -19,6 +19,7 @@
#include "third_party/blink/public/platform/scheduler/test/renderer_scheduler_test_support.h"
#include "third_party/blink/public/platform/scheduler/web_thread_scheduler.h"
#include "third_party/blink/public/web/blink.h"
#include "third_party/skia/include/core/SkGraphics.h"
#include "tools/v8_context_snapshot/buildflags.h"
#include "ui/base/resource/resource_bundle.h"
#include "ui/base/ui_base_paths.h"
@ -80,6 +81,8 @@ class PdfTestSuite final : public base::TestSuite {
platform_->GetMainThreadScheduler());
InitializeResourceBundle();
SkGraphics::SetPathAnalyticAADecider([](const SkPath&) { return true; });
}
void Shutdown() override {