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

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

Issue 2267183003: Switch from PrintTo to operator<< for platform printers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 3 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) 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2008 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 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * 2. Redistributions in binary form must reproduce the above copyright 10 * 2. Redistributions in binary form must reproduce the above copyright
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after
182 } 182 }
183 183
184 inline bool operator!=(const FloatQuad& a, const FloatQuad& b) 184 inline bool operator!=(const FloatQuad& a, const FloatQuad& b)
185 { 185 {
186 return a.p1() != b.p1() || 186 return a.p1() != b.p1() ||
187 a.p2() != b.p2() || 187 a.p2() != b.p2() ||
188 a.p3() != b.p3() || 188 a.p3() != b.p3() ||
189 a.p4() != b.p4(); 189 a.p4() != b.p4();
190 } 190 }
191 191
192 192 PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const FloatQuad&);
193 // Redeclared here to avoid ODR issues.
194 // See platform/testing/GeometryPrinters.h.
195 void PrintTo(const FloatQuad&, std::ostream*);
196 193
197 } // namespace blink 194 } // namespace blink
198 195
199 #endif // FloatQuad_h 196 #endif // FloatQuad_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698