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

Side by Side Diff: third_party/WebKit/Source/platform/transforms/TransformationMatrix.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) 2005, 2006 Apple Computer, Inc. All rights reserved. 2 * Copyright (C) 2005, 2006 Apple Computer, 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 420 matching lines...) Expand 10 before | Expand all | Expand 10 after
431 #if defined(TRANSFORMATION_MATRIX_USE_X86_64_SSE2) 431 #if defined(TRANSFORMATION_MATRIX_USE_X86_64_SSE2)
432 // m_matrix can cause this class to require higher than usual alignment. 432 // m_matrix can cause this class to require higher than usual alignment.
433 // Make sure the allocator handles this. 433 // Make sure the allocator handles this.
434 ASSERT((reinterpret_cast<uintptr_t>(this) & (WTF_ALIGN_OF(Transformation Matrix) - 1)) == 0); 434 ASSERT((reinterpret_cast<uintptr_t>(this) & (WTF_ALIGN_OF(Transformation Matrix) - 1)) == 0);
435 #endif 435 #endif
436 } 436 }
437 437
438 Matrix4 m_matrix; 438 Matrix4 m_matrix;
439 }; 439 };
440 440
441 // Redeclared here to avoid ODR issues. 441 PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const TransformationMatr ix&);
442 // See platform/testing/TransformPrinters.h.
443 void PrintTo(const TransformationMatrix&, std::ostream*);
444 442
445 } // namespace blink 443 } // namespace blink
446 444
447 #endif // TransformationMatrix_h 445 #endif // TransformationMatrix_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698