| OLD | NEW |
| 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 * | 4 * |
| 5 * Redistribution and use in source and binary forms, with or without | 5 * Redistribution and use in source and binary forms, with or without |
| 6 * modification, are permitted provided that the following conditions | 6 * modification, are permitted provided that the following conditions |
| 7 * are met: | 7 * are met: |
| 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 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 private: | 191 private: |
| 192 void setMatrix(const Transform m) | 192 void setMatrix(const Transform m) |
| 193 { | 193 { |
| 194 if (m && m != m_transform) | 194 if (m && m != m_transform) |
| 195 memcpy(m_transform, m, sizeof(Transform)); | 195 memcpy(m_transform, m, sizeof(Transform)); |
| 196 } | 196 } |
| 197 | 197 |
| 198 Transform m_transform; | 198 Transform m_transform; |
| 199 }; | 199 }; |
| 200 | 200 |
| 201 // Redeclared here to avoid ODR issues. | 201 PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const AffineTransform&); |
| 202 // See platform/testing/TransformPrinters.h. | |
| 203 void PrintTo(const AffineTransform&, std::ostream*); | |
| 204 | 202 |
| 205 } // namespace blink | 203 } // namespace blink |
| 206 | 204 |
| 207 #endif | 205 #endif |
| OLD | NEW |