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

Side by Side Diff: third_party/WebKit/WebCore/rendering/RenderSVGText.cpp

Issue 21165: Revert the merge. Mac build is mysteriously broken. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 * This file is part of the WebKit project. 2 * This file is part of the WebKit project.
3 * 3 *
4 * Copyright (C) 2006 Apple Computer, Inc. 4 * Copyright (C) 2006 Apple Computer, Inc.
5 * 2006 Alexander Kellett <lypanov@kde.org> 5 * 2006 Alexander Kellett <lypanov@kde.org>
6 * 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz> 6 * 2006 Oliver Hunt <ojh16@student.canterbury.ac.nz>
7 * 2007 Nikolas Zimmermann <zimmermann@kde.org> 7 * 2007 Nikolas Zimmermann <zimmermann@kde.org>
8 * 2008 Rob Buis <buis@kde.org> 8 * 2008 Rob Buis <buis@kde.org>
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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 #include "SVGURIReference.h" 42 #include "SVGURIReference.h"
43 #include "SimpleFontData.h" 43 #include "SimpleFontData.h"
44 44
45 namespace WebCore { 45 namespace WebCore {
46 46
47 RenderSVGText::RenderSVGText(SVGTextElement* node) 47 RenderSVGText::RenderSVGText(SVGTextElement* node)
48 : RenderSVGBlock(node) 48 : RenderSVGBlock(node)
49 { 49 {
50 } 50 }
51 51
52 IntRect RenderSVGText::clippedOverflowRectForRepaint(RenderBoxModelObject* /*rep aintContainer*/) 52 IntRect RenderSVGText::clippedOverflowRectForRepaint(RenderBox* /*repaintContain er*/)
53 { 53 {
54 // FIXME: handle non-root repaintContainer 54 // FIXME: handle non-root repaintContainer
55 FloatRect repaintRect = absoluteTransform().mapRect(relativeBBox(true)); 55 FloatRect repaintRect = absoluteTransform().mapRect(relativeBBox(true));
56 56
57 #if ENABLE(SVG_FILTERS) 57 #if ENABLE(SVG_FILTERS)
58 // Filters can expand the bounding box 58 // Filters can expand the bounding box
59 SVGResourceFilter* filter = getFilterById(document(), style()->svgStyle()->f ilter()); 59 SVGResourceFilter* filter = getFilterById(document(), style()->svgStyle()->f ilter());
60 if (filter) 60 if (filter)
61 repaintRect.unite(filter->filterBBoxForItemBBox(repaintRect)); 61 repaintRect.unite(filter->filterBBoxForItemBBox(repaintRect));
62 #endif 62 #endif
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
215 215
216 repaintRect.move(x(), y()); 216 repaintRect.move(x(), y());
217 return repaintRect; 217 return repaintRect;
218 } 218 }
219 219
220 } 220 }
221 221
222 #endif // ENABLE(SVG) 222 #endif // ENABLE(SVG)
223 223
224 // vim:ts=4:noet 224 // vim:ts=4:noet
OLDNEW
« no previous file with comments | « third_party/WebKit/WebCore/rendering/RenderSVGText.h ('k') | third_party/WebKit/WebCore/rendering/RenderSelectionInfo.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698