0

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}
This commit is contained in:
Brian Osman
2023-03-03 20:12:18 +00:00
committed by Chromium LUCI CQ
parent a042f6b91f
commit e208ae6d75
4 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

@@ -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 {