| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (c) 2012, Google Inc. All rights reserved. | 2 * Copyright (c) 2012, Google 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 are | 5 * modification, are permitted provided that the following conditions are |
| 6 * met: | 6 * met: |
| 7 * | 7 * |
| 8 * * Redistributions of source code must retain the above copyright | 8 * * 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 * * Redistributions in binary form must reproduce the above | 10 * * Redistributions in binary form must reproduce the above |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 inline LayoutSize toLayoutSize(const LayoutPoint& p) | 235 inline LayoutSize toLayoutSize(const LayoutPoint& p) |
| 236 { | 236 { |
| 237 return LayoutSize(p.x(), p.y()); | 237 return LayoutSize(p.x(), p.y()); |
| 238 } | 238 } |
| 239 | 239 |
| 240 inline LayoutPoint flooredLayoutPoint(const FloatSize& s) | 240 inline LayoutPoint flooredLayoutPoint(const FloatSize& s) |
| 241 { | 241 { |
| 242 return flooredLayoutPoint(FloatPoint(s)); | 242 return flooredLayoutPoint(FloatPoint(s)); |
| 243 } | 243 } |
| 244 | 244 |
| 245 // Redeclared here to avoid ODR issues. | 245 PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const LayoutPoint&); |
| 246 // See platform/testing/GeometryPrinters.h. | |
| 247 void PrintTo(const LayoutPoint&, std::ostream*); | |
| 248 | 246 |
| 249 } // namespace blink | 247 } // namespace blink |
| 250 | 248 |
| 251 #endif // LayoutPoint_h | 249 #endif // LayoutPoint_h |
| OLD | NEW |