| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> | 2 * Copyright (C) 2006 Alexander Kellett <lypanov@kde.org> |
| 3 * Copyright (C) 2006 Apple Computer, Inc. | 3 * Copyright (C) 2006 Apple Computer, Inc. |
| 4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> | 4 * Copyright (C) 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 5 * Copyright (C) 2007, 2008, 2009 Rob Buis <buis@kde.org> | 5 * Copyright (C) 2007, 2008, 2009 Rob Buis <buis@kde.org> |
| 6 * Copyright (C) 2009 Google, Inc. | 6 * Copyright (C) 2009 Google, Inc. |
| 7 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> | 7 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> |
| 8 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> | 8 * Copyright (C) 2010 Patrick Gansterer <paroga@paroga.com> |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 51 { | 51 { |
| 52 m_imageResource->initialize(this); | 52 m_imageResource->initialize(this); |
| 53 } | 53 } |
| 54 | 54 |
| 55 LayoutSVGImage::~LayoutSVGImage() | 55 LayoutSVGImage::~LayoutSVGImage() |
| 56 { | 56 { |
| 57 } | 57 } |
| 58 | 58 |
| 59 void LayoutSVGImage::willBeDestroyed() | 59 void LayoutSVGImage::willBeDestroyed() |
| 60 { | 60 { |
| 61 ImageQualityController::remove(this); | 61 ImageQualityController::remove(*this); |
| 62 m_imageResource->shutdown(); | 62 m_imageResource->shutdown(); |
| 63 LayoutSVGModelObject::willBeDestroyed(); | 63 LayoutSVGModelObject::willBeDestroyed(); |
| 64 } | 64 } |
| 65 | 65 |
| 66 void LayoutSVGImage::updateBoundingBox() | 66 void LayoutSVGImage::updateBoundingBox() |
| 67 { | 67 { |
| 68 FloatRect oldBoundaries = m_objectBoundingBox; | 68 FloatRect oldBoundaries = m_objectBoundingBox; |
| 69 | 69 |
| 70 SVGLengthContext lengthContext(element()); | 70 SVGLengthContext lengthContext(element()); |
| 71 m_objectBoundingBox = FloatRect( | 71 m_objectBoundingBox = FloatRect( |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 152 setShouldDoFullPaintInvalidation(); | 152 setShouldDoFullPaintInvalidation(); |
| 153 } | 153 } |
| 154 | 154 |
| 155 void LayoutSVGImage::addOutlineRects(Vector<LayoutRect>& rects, const LayoutPoin
t&, IncludeBlockVisualOverflowOrNot) const | 155 void LayoutSVGImage::addOutlineRects(Vector<LayoutRect>& rects, const LayoutPoin
t&, IncludeBlockVisualOverflowOrNot) const |
| 156 { | 156 { |
| 157 // this is called from paint() after the localTransform has already been app
lied | 157 // this is called from paint() after the localTransform has already been app
lied |
| 158 rects.append(LayoutRect(paintInvalidationRectInLocalCoordinates())); | 158 rects.append(LayoutRect(paintInvalidationRectInLocalCoordinates())); |
| 159 } | 159 } |
| 160 | 160 |
| 161 } // namespace blink | 161 } // namespace blink |
| OLD | NEW |