OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2006 Eric Seidel <eric@webkit.org> |
3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008, 2009 Apple Inc. All rights reserved. |
4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 4 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
5 * | 5 * |
6 * Redistribution and use in source and binary forms, with or without | 6 * Redistribution and use in source and binary forms, with or without |
7 * modification, are permitted provided that the following conditions | 7 * modification, are permitted provided that the following conditions |
8 * are met: | 8 * are met: |
9 * 1. Redistributions of source code must retain the above copyright | 9 * 1. Redistributions of source code must retain the above copyright |
10 * notice, this list of conditions and the following disclaimer. | 10 * notice, this list of conditions and the following disclaimer. |
(...skipping 529 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
540 } | 540 } |
541 | 541 |
542 return m_page; | 542 return m_page; |
543 } | 543 } |
544 | 544 |
545 String SVGImage::filenameExtension() const | 545 String SVGImage::filenameExtension() const |
546 { | 546 { |
547 return "svg"; | 547 return "svg"; |
548 } | 548 } |
549 | 549 |
| 550 void SVGImage::updateConcreteObjectSize(const LayoutSize& defaultObjectSize) |
| 551 { |
| 552 m_concreteObjectSize = roundedIntSize(calculateConcreteObjectSize(FloatSize(
defaultObjectSize))); |
| 553 } |
| 554 |
550 } // namespace blink | 555 } // namespace blink |
OLD | NEW |