| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. | 2 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. |
| 3 * Copyright (C) 2005 Nokia. All rights reserved. | 3 * Copyright (C) 2005 Nokia. All rights reserved. |
| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 r.width() * widthScale, r.height() * heightScale); | 232 r.width() * widthScale, r.height() * heightScale); |
| 233 } | 233 } |
| 234 | 234 |
| 235 String FloatRect::toString() const | 235 String FloatRect::toString() const |
| 236 { | 236 { |
| 237 return String::format("%s %s", | 237 return String::format("%s %s", |
| 238 location().toString().ascii().data(), | 238 location().toString().ascii().data(), |
| 239 size().toString().ascii().data()); | 239 size().toString().ascii().data()); |
| 240 } | 240 } |
| 241 | 241 |
| 242 std::ostream& operator<<(std::ostream& ostream, const FloatRect& rect) |
| 243 { |
| 244 return ostream << rect.toString(); |
| 245 } |
| 246 |
| 242 } // namespace blink | 247 } // namespace blink |
| OLD | NEW |