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

Side by Side Diff: Source/core/svg/SVGMaskElement.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 years, 8 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
« no previous file with comments | « Source/core/svg/SVGMaskElement.h ('k') | Source/core/svg/SVGMetadataElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org> 4 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org>
5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 5 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
6 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved. 6 * Copyright (C) Research In Motion Limited 2009-2010. All rights reserved.
7 * 7 *
8 * This library is free software; you can redistribute it and/or 8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public 9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either 10 * License as published by the Free Software Foundation; either
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
143 { 143 {
144 SVGElement::childrenChanged(change); 144 SVGElement::childrenChanged(change);
145 145
146 if (change.byParser) 146 if (change.byParser)
147 return; 147 return;
148 148
149 if (LayoutObject* object = layoutObject()) 149 if (LayoutObject* object = layoutObject())
150 object->setNeedsLayoutAndFullPaintInvalidation(); 150 object->setNeedsLayoutAndFullPaintInvalidation();
151 } 151 }
152 152
153 LayoutObject* SVGMaskElement::createLayoutObject(const LayoutStyle&) 153 LayoutObject* SVGMaskElement::createLayoutObject(const ComputedStyle&)
154 { 154 {
155 return new LayoutSVGResourceMasker(this); 155 return new LayoutSVGResourceMasker(this);
156 } 156 }
157 157
158 bool SVGMaskElement::selfHasRelativeLengths() const 158 bool SVGMaskElement::selfHasRelativeLengths() const
159 { 159 {
160 return m_x->currentValue()->isRelative() 160 return m_x->currentValue()->isRelative()
161 || m_y->currentValue()->isRelative() 161 || m_y->currentValue()->isRelative()
162 || m_width->currentValue()->isRelative() 162 || m_width->currentValue()->isRelative()
163 || m_height->currentValue()->isRelative(); 163 || m_height->currentValue()->isRelative();
164 } 164 }
165 165
166 } // namespace blink 166 } // namespace blink
OLDNEW
« no previous file with comments | « Source/core/svg/SVGMaskElement.h ('k') | Source/core/svg/SVGMetadataElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698