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

Side by Side Diff: third_party/WebKit/Source/platform/transforms/AffineTransform.cpp

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, 4 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 * 2010 Dirk Schulze <krit@webkit.org> 3 * 2010 Dirk Schulze <krit@webkit.org>
4 * Copyright (C) 2013 Google Inc. All rights reserved. 4 * Copyright (C) 2013 Google Inc. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
(...skipping 413 matching lines...) Expand 10 before | Expand all | Expand 10 after
424 decomposition.translateY, 424 decomposition.translateY,
425 decomposition.scaleX, 425 decomposition.scaleX,
426 decomposition.scaleY, 426 decomposition.scaleY,
427 rad2deg(decomposition.angle), 427 rad2deg(decomposition.angle),
428 decomposition.remainderA, 428 decomposition.remainderA,
429 decomposition.remainderB, 429 decomposition.remainderB,
430 decomposition.remainderC, 430 decomposition.remainderC,
431 decomposition.remainderD); 431 decomposition.remainderD);
432 } 432 }
433 433
434 std::ostream& operator<<(std::ostream& ostream, const AffineTransform& transform )
435 {
436 return ostream << transform.toString();
437 }
438
434 } // namespace blink 439 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698