0

[unseasoned-pdf] Remove ENABLE_PDF_UNSEASONED

Removes the ENABLE_PDF_UNSEASONED buildflag; after crrev.com/c/3025744,
there are no more references.

Fixed: 1141953
Change-Id: I465b7c2227ffaf2f470c211047c5a21b127e3fcf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3025074
Commit-Queue: K. Moon <kmoon@chromium.org>
Reviewed-by: Daniel Hosseinian <dhoss@chromium.org>
Reviewed-by: Hui Yingst <nigi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#901357}
This commit is contained in:
K. Moon
2021-07-14 04:27:33 +00:00
committed by Chromium LUCI CQ
parent 047f67dec3
commit 6a6ceb3f88
3 changed files with 0 additions and 12 deletions

@ -17,7 +17,6 @@ buildflag_header("buildflags") {
flags = [
"ENABLE_INK=$enable_ink",
"ENABLE_PDF=$enable_pdf",
"ENABLE_PDF_UNSEASONED=$enable_pdf_unseasoned",
]
}

@ -22,12 +22,4 @@ declare_args() {
# being deprecated, to Fuchsia. Once the PDF Viewer no longer uses PPAPI, the
# PDF Viewer should be enabled on Fuchsia, like on other desktop platforms.
enable_pdf = !is_android && !is_ios && !is_chromecast && !is_fuchsia
# Enable additional code for the Pepper-free PDF viewer.
#
# This argument enables additional code paths that are only useful during the
# PDF viewer's migration from Pepper. This argument is intended to guard code
# meant only for developers, and will be phased out before launch in favor of
# a run-time feature flag.
enable_pdf_unseasoned = false
}

@ -22,9 +22,6 @@ const base::Feature kPdfIncrementalLoading = {
const base::Feature kPdfPartialLoading = {"PdfPartialLoading",
base::FEATURE_DISABLED_BY_DEFAULT};
// This feature eventually will replace the ENABLE_PDF_UNSEASONED build flag.
// Code paths should be guarded by this feature or the build flag, not both.
// TODO(crbug.com/1141953): Use this to back a chrome://flags entry when ready.
// TODO(crbug.com/702993): Remove this once the PDF viewer is Pepper-free.
const base::Feature kPdfUnseasoned = {"PdfUnseasoned",
base::FEATURE_DISABLED_BY_DEFAULT};