blob: 30f6b0eb0eb771289f215ca535f3ae9edb86571e [file] [log] [blame]
// Copyright 2015 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef CHROME_CHILD_PDF_CHILD_INIT_H_
#define CHROME_CHILD_PDF_CHILD_INIT_H_
#include "pdf/buildflags.h"
#if !BUILDFLAG(ENABLE_PDF)
#error "PDF must be enabled"
#endif
// Possibly patches GDI's `GetFontData()` for use by PDFium.
void MaybePatchGdiGetFontData();
#endif // CHROME_CHILD_PDF_CHILD_INIT_H_