OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Apple Inc. All rights reserved. | 4 * Copyright (C) 2007 Apple Inc. All rights reserved. |
5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
408 return false; | 408 return false; |
409 | 409 |
410 const SVGSVGElement& svg = toSVGSVGElement(*viewportElement); | 410 const SVGSVGElement& svg = toSVGSVGElement(*viewportElement); |
411 viewportSize = svg.currentViewBoxRect().size(); | 411 viewportSize = svg.currentViewBoxRect().size(); |
412 if (viewportSize.isEmpty()) | 412 if (viewportSize.isEmpty()) |
413 viewportSize = svg.currentViewportSize(); | 413 viewportSize = svg.currentViewportSize(); |
414 | 414 |
415 return true; | 415 return true; |
416 } | 416 } |
417 | 417 |
418 } | 418 } // namespace blink |
OLD | NEW |