Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(53)

Side by Side Diff: core/fpdfapi/page/cpdf_clippath.cpp

Issue 2386423004: Move core/fpdfapi/fpdf_page to core/fpdfapi/page (Closed)
Patch Set: Rebase to master Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « core/fpdfapi/page/cpdf_clippath.h ('k') | core/fpdfapi/page/cpdf_color.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2016 PDFium Authors. All rights reserved. 1 // Copyright 2016 PDFium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 6
7 #include "core/fpdfapi/fpdf_page/cpdf_clippath.h" 7 #include "core/fpdfapi/page/cpdf_clippath.h"
8 8
9 #include <utility> 9 #include <utility>
10 10
11 #include "core/fpdfapi/fpdf_page/cpdf_path.h" 11 #include "core/fpdfapi/page/cpdf_path.h"
12 #include "core/fpdfapi/fpdf_page/cpdf_textobject.h" 12 #include "core/fpdfapi/page/cpdf_textobject.h"
13 #include "third_party/base/stl_util.h" 13 #include "third_party/base/stl_util.h"
14 14
15 #define FPDF_CLIPPATH_MAX_TEXTS 1024 15 #define FPDF_CLIPPATH_MAX_TEXTS 1024
16 16
17 CPDF_ClipPath::CPDF_ClipPath() {} 17 CPDF_ClipPath::CPDF_ClipPath() {}
18 18
19 CPDF_ClipPath::CPDF_ClipPath(const CPDF_ClipPath& that) : m_Ref(that.m_Ref) {} 19 CPDF_ClipPath::CPDF_ClipPath(const CPDF_ClipPath& that) : m_Ref(that.m_Ref) {}
20 20
21 CPDF_ClipPath::~CPDF_ClipPath() {} 21 CPDF_ClipPath::~CPDF_ClipPath() {}
22 22
(...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 m_PathAndTypeList = that.m_PathAndTypeList; 121 m_PathAndTypeList = that.m_PathAndTypeList;
122 122
123 m_TextList.resize(that.m_TextList.size()); 123 m_TextList.resize(that.m_TextList.size());
124 for (size_t i = 0; i < that.m_TextList.size(); ++i) { 124 for (size_t i = 0; i < that.m_TextList.size(); ++i) {
125 if (that.m_TextList[i]) 125 if (that.m_TextList[i])
126 m_TextList[i].reset(that.m_TextList[i]->Clone()); 126 m_TextList[i].reset(that.m_TextList[i]->Clone());
127 } 127 }
128 } 128 }
129 129
130 CPDF_ClipPath::PathData::~PathData() {} 130 CPDF_ClipPath::PathData::~PathData() {}
OLDNEW
« no previous file with comments | « core/fpdfapi/page/cpdf_clippath.h ('k') | core/fpdfapi/page/cpdf_color.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698