| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 2 * Copyright (C) 2013 Adobe Systems Incorporated. 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 * | 7 * |
| 8 * 1. Redistributions of source code must retain the above | 8 * 1. Redistributions of source code must retain the above |
| 9 * copyright notice, this list of conditions and the following | 9 * copyright notice, this list of conditions and the following |
| 10 * disclaimer. | 10 * disclaimer. |
| (...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 345 bottomRight().toString().ascii().data()); | 345 bottomRight().toString().ascii().data()); |
| 346 } | 346 } |
| 347 | 347 |
| 348 String FloatRoundedRect::toString() const | 348 String FloatRoundedRect::toString() const |
| 349 { | 349 { |
| 350 return String::format("%s radii:(%s)", | 350 return String::format("%s radii:(%s)", |
| 351 rect().toString().ascii().data(), | 351 rect().toString().ascii().data(), |
| 352 getRadii().toString().ascii().data()); | 352 getRadii().toString().ascii().data()); |
| 353 } | 353 } |
| 354 | 354 |
| 355 std::ostream& operator<<(std::ostream& ostream, const FloatRoundedRect& roundedR
ect) |
| 356 { |
| 357 return ostream << roundedRect.toString(); |
| 358 } |
| 359 |
| 360 std::ostream& operator<<(std::ostream& ostream, const FloatRoundedRect::Radii& r
adii) |
| 361 { |
| 362 return ostream << radii.toString(); |
| 363 } |
| 355 } // namespace blink | 364 } // namespace blink |
| OLD | NEW |