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

Side by Side Diff: third_party/WebKit/Source/core/svg/SVGTransform.cpp

Issue 1627713002: Add more missing closing namespace comments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase, address comment (also filed llvm.org/PR26290) Created 4 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
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org>
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 return "rotate("; 165 return "rotate(";
166 case SVG_TRANSFORM_SKEWX: 166 case SVG_TRANSFORM_SKEWX:
167 return "skewX("; 167 return "skewX(";
168 case SVG_TRANSFORM_SKEWY: 168 case SVG_TRANSFORM_SKEWY:
169 return "skewY("; 169 return "skewY(";
170 } 170 }
171 ASSERT_NOT_REACHED(); 171 ASSERT_NOT_REACHED();
172 return ""; 172 return "";
173 } 173 }
174 174
175 } 175 } // namespace
176 176
177 String SVGTransform::valueAsString() const 177 String SVGTransform::valueAsString() const
178 { 178 {
179 double arguments[6]; 179 double arguments[6];
180 size_t argumentCount = 0; 180 size_t argumentCount = 0;
181 switch (m_transformType) { 181 switch (m_transformType) {
182 case SVG_TRANSFORM_UNKNOWN: 182 case SVG_TRANSFORM_UNKNOWN:
183 return emptyString(); 183 return emptyString();
184 case SVG_TRANSFORM_MATRIX: { 184 case SVG_TRANSFORM_MATRIX: {
185 arguments[argumentCount++] = m_matrix.a(); 185 arguments[argumentCount++] = m_matrix.a();
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
249 249
250 float SVGTransform::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, S VGElement*) 250 float SVGTransform::calculateDistance(PassRefPtrWillBeRawPtr<SVGPropertyBase>, S VGElement*)
251 { 251 {
252 // SVGTransform is not animated by itself. 252 // SVGTransform is not animated by itself.
253 ASSERT_NOT_REACHED(); 253 ASSERT_NOT_REACHED();
254 254
255 return -1; 255 return -1;
256 } 256 }
257 257
258 } // namespace blink 258 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/svg/SVGTitleElement.cpp ('k') | third_party/WebKit/Source/core/svg/SVGTransformDistance.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698