Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(48)

Side by Side Diff: Source/core/layout/svg/LayoutSVGImage.cpp

Issue 1269123002: Preparation for combining paths of focus rings and outlines (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove debug from fast/css/focus-ring-recursive-continuations.html Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 187
188 // Update the SVGImageCache sizeAndScales entry in case image loading finish ed after layout. 188 // Update the SVGImageCache sizeAndScales entry in case image loading finish ed after layout.
189 // (https://bugs.webkit.org/show_bug.cgi?id=99489) 189 // (https://bugs.webkit.org/show_bug.cgi?id=99489)
190 updateImageContainerSize(); 190 updateImageContainerSize();
191 191
192 m_bufferedForeground.clear(); 192 m_bufferedForeground.clear();
193 193
194 setShouldDoFullPaintInvalidation(); 194 setShouldDoFullPaintInvalidation();
195 } 195 }
196 196
197 void LayoutSVGImage::addFocusRingRects(Vector<LayoutRect>& rects, const LayoutPo int&) const 197 void LayoutSVGImage::addOutlineRects(Vector<LayoutRect>& rects, const LayoutPoin t&) const
198 { 198 {
199 // this is called from paint() after the localTransform has already been app lied 199 // this is called from paint() after the localTransform has already been app lied
200 LayoutRect contentRect = LayoutRect(paintInvalidationRectInLocalCoordinates( )); 200 LayoutRect contentRect = LayoutRect(paintInvalidationRectInLocalCoordinates( ));
201 if (!contentRect.isEmpty()) 201 if (!contentRect.isEmpty())
202 rects.append(contentRect); 202 rects.append(contentRect);
203 } 203 }
204 204
205 } // namespace blink 205 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698