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

Side by Side Diff: core/src/fxcrt/fx_basic_coords.cpp

Issue 1427633010: Fix relative includes within core/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium@master
Patch Set: rebase Created 5 years, 1 month 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/src/fxcrt/fx_basic_buffer.cpp ('k') | core/src/fxcrt/fx_basic_gcc.cpp » ('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 2014 PDFium Authors. All rights reserved. 1 // Copyright 2014 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 <limits.h> 7 #include <limits.h>
8 8
9 #include "../../include/fxcrt/fx_coordinates.h" 9 #include "core/include/fxcrt/fx_coordinates.h"
10 #include "../../include/fxcrt/fx_ext.h" 10 #include "core/include/fxcrt/fx_ext.h"
11 11
12 void FX_RECT::Normalize() { 12 void FX_RECT::Normalize() {
13 if (left > right) { 13 if (left > right) {
14 int temp = left; 14 int temp = left;
15 left = right; 15 left = right;
16 right = temp; 16 right = temp;
17 } 17 }
18 if (top > bottom) { 18 if (top > bottom) {
19 int temp = top; 19 int temp = top;
20 top = bottom; 20 top = bottom;
(...skipping 509 matching lines...) Expand 10 before | Expand all | Expand 10 after
530 left = x[i]; 530 left = x[i];
531 } 531 }
532 if (top < y[i]) { 532 if (top < y[i]) {
533 top = y[i]; 533 top = y[i];
534 } 534 }
535 if (bottom > y[i]) { 535 if (bottom > y[i]) {
536 bottom = y[i]; 536 bottom = y[i];
537 } 537 }
538 } 538 }
539 } 539 }
OLDNEW
« no previous file with comments | « core/src/fxcrt/fx_basic_buffer.cpp ('k') | core/src/fxcrt/fx_basic_gcc.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698