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 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
174 // Update the SVGImageCache sizeAndScales entry in case image loading finish
ed after layout. | 174 // Update the SVGImageCache sizeAndScales entry in case image loading finish
ed after layout. |
175 // (https://bugs.webkit.org/show_bug.cgi?id=99489) | 175 // (https://bugs.webkit.org/show_bug.cgi?id=99489) |
176 m_objectBoundingBox = FloatRect(); | 176 m_objectBoundingBox = FloatRect(); |
177 updateImageViewport(); | 177 updateImageViewport(); |
178 | 178 |
179 m_bufferedForeground.clear(); | 179 m_bufferedForeground.clear(); |
180 | 180 |
181 setShouldDoFullPaintInvalidation(); | 181 setShouldDoFullPaintInvalidation(); |
182 } | 182 } |
183 | 183 |
184 void RenderSVGImage::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPo
int&, const RenderLayerModelObject*) const | 184 void RenderSVGImage::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPo
int&) const |
185 { | 185 { |
186 // this is called from paint() after the localTransform has already been app
lied | 186 // this is called from paint() after the localTransform has already been app
lied |
187 LayoutRect contentRect = LayoutRect(paintInvalidationRectInLocalCoordinates(
)); | 187 LayoutRect contentRect = LayoutRect(paintInvalidationRectInLocalCoordinates(
)); |
188 if (!contentRect.isEmpty()) | 188 if (!contentRect.isEmpty()) |
189 rects.append(contentRect); | 189 rects.append(contentRect); |
190 } | 190 } |
191 | 191 |
192 } // namespace blink | 192 } // namespace blink |
OLD | NEW |