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 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
189 // Update the SVGImageCache sizeAndScales entry in case image loading finish
ed after layout. | 189 // Update the SVGImageCache sizeAndScales entry in case image loading finish
ed after layout. |
190 // (https://bugs.webkit.org/show_bug.cgi?id=99489) | 190 // (https://bugs.webkit.org/show_bug.cgi?id=99489) |
191 m_objectBoundingBox = FloatRect(); | 191 m_objectBoundingBox = FloatRect(); |
192 updateImageViewport(); | 192 updateImageViewport(); |
193 | 193 |
194 m_bufferedForeground.clear(); | 194 m_bufferedForeground.clear(); |
195 | 195 |
196 setShouldDoFullPaintInvalidation(); | 196 setShouldDoFullPaintInvalidation(); |
197 } | 197 } |
198 | 198 |
199 void RenderSVGImage::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPo
int&, const RenderLayerModelObject*) const | 199 void RenderSVGImage::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPo
int&) const |
200 { | 200 { |
201 // this is called from paint() after the localTransform has already been app
lied | 201 // this is called from paint() after the localTransform has already been app
lied |
202 LayoutRect contentRect = LayoutRect(paintInvalidationRectInLocalCoordinates(
)); | 202 LayoutRect contentRect = LayoutRect(paintInvalidationRectInLocalCoordinates(
)); |
203 if (!contentRect.isEmpty()) | 203 if (!contentRect.isEmpty()) |
204 rects.append(contentRect); | 204 rects.append(contentRect); |
205 } | 205 } |
206 | 206 |
207 } // namespace blink | 207 } // namespace blink |
OLD | NEW |