0
Files
src/pdf/pdf_engine.cc
Henrique Nakashima fd7edf2acd Reland "Count annotation subtypes that appear in PDF documents."
Original: https://chromium-review.googlesource.com/c/chromium/src/+/740141
Revert: https://chromium-review.googlesource.com/c/chromium/src/+/788030

This reverts commit 112d7b025f.

Bug: 768986,788176
TBR: isherman@chromium.org
Change-Id: Ie5c8889f73443b9eefccd803f15cd0c0b1cd1ce9
Reviewed-on: https://chromium-review.googlesource.com/788330
Reviewed-by: dsinclair <dsinclair@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520262}
2017-11-29 22:03:49 +00:00

21 lines
549 B
C++

// Copyright 2017 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.
#include "pdf/pdf_engine.h"
namespace chrome_pdf {
PDFEngine::PageFeatures::PageFeatures(){};
PDFEngine::PageFeatures::PageFeatures(const PageFeatures& other)
: index(other.index), annotation_types(other.annotation_types) {}
PDFEngine::PageFeatures::~PageFeatures(){};
bool PDFEngine::PageFeatures::IsInitialized() const {
return index >= 0;
}
} // namespace chrome_pdf