| 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 29 matching lines...) Expand all  Loading... | 
| 40 #include "third_party/skia/include/core/SkPicture.h" | 40 #include "third_party/skia/include/core/SkPicture.h" | 
| 41 | 41 | 
| 42 namespace blink { | 42 namespace blink { | 
| 43 | 43 | 
| 44 LayoutSVGImage::LayoutSVGImage(SVGImageElement* impl) | 44 LayoutSVGImage::LayoutSVGImage(SVGImageElement* impl) | 
| 45     : LayoutSVGModelObject(impl) | 45     : LayoutSVGModelObject(impl) | 
| 46     , m_needsBoundariesUpdate(true) | 46     , m_needsBoundariesUpdate(true) | 
| 47     , m_needsTransformUpdate(true) | 47     , m_needsTransformUpdate(true) | 
| 48     , m_imageResource(LayoutImageResource::create()) | 48     , m_imageResource(LayoutImageResource::create()) | 
| 49 { | 49 { | 
| 50     m_imageResource->initialize(this, nullptr); | 50     m_imageResource->initialize(this); | 
| 51 } | 51 } | 
| 52 | 52 | 
| 53 LayoutSVGImage::~LayoutSVGImage() | 53 LayoutSVGImage::~LayoutSVGImage() | 
| 54 { | 54 { | 
| 55 } | 55 } | 
| 56 | 56 | 
| 57 void LayoutSVGImage::willBeDestroyed() | 57 void LayoutSVGImage::willBeDestroyed() | 
| 58 { | 58 { | 
| 59     ImageQualityController::remove(*this); | 59     ImageQualityController::remove(*this); | 
| 60     m_imageResource->shutdown(); | 60     m_imageResource->shutdown(); | 
| (...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 146     setShouldDoFullPaintInvalidation(); | 146     setShouldDoFullPaintInvalidation(); | 
| 147 } | 147 } | 
| 148 | 148 | 
| 149 void LayoutSVGImage::addOutlineRects(Vector<LayoutRect>& rects, const LayoutPoin
     t&, IncludeBlockVisualOverflowOrNot) const | 149 void LayoutSVGImage::addOutlineRects(Vector<LayoutRect>& rects, const LayoutPoin
     t&, IncludeBlockVisualOverflowOrNot) const | 
| 150 { | 150 { | 
| 151     // this is called from paint() after the localTransform has already been app
     lied | 151     // this is called from paint() after the localTransform has already been app
     lied | 
| 152     rects.append(LayoutRect(paintInvalidationRectInLocalSVGCoordinates())); | 152     rects.append(LayoutRect(paintInvalidationRectInLocalSVGCoordinates())); | 
| 153 } | 153 } | 
| 154 | 154 | 
| 155 } // namespace blink | 155 } // namespace blink | 
| OLD | NEW | 
|---|