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

Side by Side Diff: third_party/WebKit/Source/platform/geometry/Region.h

Issue 2795713004: Rewrite references to "wtf/" to "platform/wtf/" in platform/geometry. (Closed)
Patch Set: Created 3 years, 8 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2010, 2011 Apple Inc. All rights reserved. 2 * Copyright (C) 2010, 2011 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 10 matching lines...) Expand all
21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 21 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF 22 * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
23 * THE POSSIBILITY OF SUCH DAMAGE. 23 * THE POSSIBILITY OF SUCH DAMAGE.
24 */ 24 */
25 25
26 #ifndef Region_h 26 #ifndef Region_h
27 #define Region_h 27 #define Region_h
28 28
29 #include "platform/PlatformExport.h" 29 #include "platform/PlatformExport.h"
30 #include "platform/geometry/IntRect.h" 30 #include "platform/geometry/IntRect.h"
31 #include "wtf/Allocator.h" 31 #include "platform/wtf/Allocator.h"
32 #include "wtf/Vector.h" 32 #include "platform/wtf/Vector.h"
33 33
34 namespace blink { 34 namespace blink {
35 35
36 class PLATFORM_EXPORT Region { 36 class PLATFORM_EXPORT Region {
37 DISALLOW_NEW(); 37 DISALLOW_NEW();
38 38
39 public: 39 public:
40 Region(); 40 Region();
41 Region(const IntRect&); 41 Region(const IntRect&);
42 42
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
173 return a.m_spans == b.m_spans && a.m_segments == b.m_segments; 173 return a.m_spans == b.m_spans && a.m_segments == b.m_segments;
174 } 174 }
175 175
176 inline bool operator==(const Region::Span& a, const Region::Span& b) { 176 inline bool operator==(const Region::Span& a, const Region::Span& b) {
177 return a.y == b.y && a.segmentIndex == b.segmentIndex; 177 return a.y == b.y && a.segmentIndex == b.segmentIndex;
178 } 178 }
179 179
180 } // namespace blink 180 } // namespace blink
181 181
182 #endif // Region_h 182 #endif // Region_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698