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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
218 // Eventually notify parent resources, that we've changed. | 218 // Eventually notify parent resources, that we've changed. |
219 RenderSVGResource::markForLayoutAndParentResourceInvalidation(this, false); | 219 RenderSVGResource::markForLayoutAndParentResourceInvalidation(this, false); |
220 | 220 |
221 // Update the SVGImageCache sizeAndScales entry in case image loading finish
ed after layout. | 221 // Update the SVGImageCache sizeAndScales entry in case image loading finish
ed after layout. |
222 // (https://bugs.webkit.org/show_bug.cgi?id=99489) | 222 // (https://bugs.webkit.org/show_bug.cgi?id=99489) |
223 m_objectBoundingBox = FloatRect(); | 223 m_objectBoundingBox = FloatRect(); |
224 updateImageViewport(); | 224 updateImageViewport(); |
225 | 225 |
226 invalidateBufferedForeground(); | 226 invalidateBufferedForeground(); |
227 | 227 |
228 repaint(); | 228 paintInvalidationForWholeRenderer(); |
229 } | 229 } |
230 | 230 |
231 void RenderSVGImage::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint
&, const RenderLayerModelObject*) | 231 void RenderSVGImage::addFocusRingRects(Vector<IntRect>& rects, const LayoutPoint
&, const RenderLayerModelObject*) |
232 { | 232 { |
233 // this is called from paint() after the localTransform has already been app
lied | 233 // this is called from paint() after the localTransform has already been app
lied |
234 IntRect contentRect = enclosingIntRect(repaintRectInLocalCoordinates()); | 234 IntRect contentRect = enclosingIntRect(repaintRectInLocalCoordinates()); |
235 if (!contentRect.isEmpty()) | 235 if (!contentRect.isEmpty()) |
236 rects.append(contentRect); | 236 rects.append(contentRect); |
237 } | 237 } |
238 | 238 |
239 } // namespace WebCore | 239 } // namespace WebCore |
OLD | NEW |