| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2009 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 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 221 return a.location() != b.location() || a.size() != b.size(); | 221 return a.location() != b.location() || a.size() != b.size(); |
| 222 } | 222 } |
| 223 | 223 |
| 224 #if OS(MACOSX) | 224 #if OS(MACOSX) |
| 225 PLATFORM_EXPORT IntRect enclosingIntRect(const CGRect&); | 225 PLATFORM_EXPORT IntRect enclosingIntRect(const CGRect&); |
| 226 #if defined(__OBJC__) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) | 226 #if defined(__OBJC__) && !defined(NSGEOMETRY_TYPES_SAME_AS_CGGEOMETRY_TYPES) |
| 227 PLATFORM_EXPORT IntRect enclosingIntRect(const NSRect&); | 227 PLATFORM_EXPORT IntRect enclosingIntRect(const NSRect&); |
| 228 #endif | 228 #endif |
| 229 #endif | 229 #endif |
| 230 | 230 |
| 231 // Redeclared here to avoid ODR issues. | 231 PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const IntRect&); |
| 232 // See platform/testing/GeometryPrinters.h. | |
| 233 void PrintTo(const IntRect&, std::ostream*); | |
| 234 | 232 |
| 235 } // namespace blink | 233 } // namespace blink |
| 236 | 234 |
| 237 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::IntRect); | 235 WTF_ALLOW_MOVE_INIT_AND_COMPARE_WITH_MEM_FUNCTIONS(blink::IntRect); |
| 238 | 236 |
| 239 #endif // IntRect_h | 237 #endif // IntRect_h |
| OLD | NEW |