diff options
author | Dan Sinclair <dsinclair@chromium.org> | 2017-10-05 15:48:39 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-10-05 20:03:35 +0000 |
commit | d103b96635a27abf93cb1a9a476c9263603bd203 (patch) | |
tree | 5c0ce568bc870f7b9f3e55ce45c0c9574bbb537d /core/fpdfdoc/cpvt_sectioninfo.cpp | |
parent | b7f9d8ee6d9c1d9c0dfa2c64b7ad5fee4032d513 (diff) | |
download | pdfium-d103b96635a27abf93cb1a9a476c9263603bd203.tar.xz |
Remove CPVT_SectionInfo
The CPVT_SectionInfo class only contains a CPVT_FloatRect member. This
CL removes the usage of CPVT_SectionInfo and uses the CPVT_FloatRect
where needed instead.
Change-Id: Ica020466db03282cf2ad9a7051899d74f8aef076
Reviewed-on: https://pdfium-review.googlesource.com/15730
Commit-Queue: dsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Reviewed-by: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fpdfdoc/cpvt_sectioninfo.cpp')
-rw-r--r-- | core/fpdfdoc/cpvt_sectioninfo.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/core/fpdfdoc/cpvt_sectioninfo.cpp b/core/fpdfdoc/cpvt_sectioninfo.cpp deleted file mode 100644 index cb1dc8907b..0000000000 --- a/core/fpdfdoc/cpvt_sectioninfo.cpp +++ /dev/null @@ -1,22 +0,0 @@ -// Copyright 2016 PDFium Authors. All rights reserved. -// Use of this source code is governed by a BSD-style license that can be -// found in the LICENSE file. -// -// Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com - -#include "core/fpdfdoc/cpvt_sectioninfo.h" -#include "third_party/base/ptr_util.h" - -CPVT_SectionInfo::CPVT_SectionInfo() : rcSection() {} - -CPVT_SectionInfo::~CPVT_SectionInfo() {} - -CPVT_SectionInfo::CPVT_SectionInfo(const CPVT_SectionInfo& other) { - operator=(other); -} - -void CPVT_SectionInfo::operator=(const CPVT_SectionInfo& other) { - if (this == &other) - return; - rcSection = other.rcSection; -} |