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

Side by Side Diff: third_party/WebKit/Source/core/css/CSSBasicShapeValues.cpp

Issue 2143483002: Use the single char overload of append() when possible. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp » ('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) 2011 Adobe Systems Incorporated. All rights reserved. 2 * Copyright (C) 2011 Adobe Systems Incorporated. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above 8 * 1. Redistributions of source code must retain the above
9 * copyright notice, this list of conditions and the following 9 * copyright notice, this list of conditions and the following
10 * disclaimer. 10 * disclaimer.
(...skipping 307 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 if (!areDefaultCornerRadii) { 318 if (!areDefaultCornerRadii) {
319 result.append(separator); 319 result.append(separator);
320 result.append(cornersSeparator); 320 result.append(cornersSeparator);
321 321
322 for (size_t i = 0; i < horizontalRadii.size(); ++i) { 322 for (size_t i = 0; i < horizontalRadii.size(); ++i) {
323 result.append(separator); 323 result.append(separator);
324 result.append(horizontalRadii[i]); 324 result.append(horizontalRadii[i]);
325 } 325 }
326 if (horizontalRadii != verticalRadii) { 326 if (horizontalRadii != verticalRadii) {
327 result.append(separator); 327 result.append(separator);
328 result.append("/"); 328 result.append('/');
329 329
330 for (size_t i = 0; i < verticalRadii.size(); ++i) { 330 for (size_t i = 0; i < verticalRadii.size(); ++i) {
331 result.append(separator); 331 result.append(separator);
332 result.append(verticalRadii[i]); 332 result.append(verticalRadii[i]);
333 } 333 }
334 } 334 }
335 } 335 }
336 } 336 }
337 result.append(')'); 337 result.append(')');
338 338
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
398 visitor->trace(m_left); 398 visitor->trace(m_left);
399 visitor->trace(m_topLeftRadius); 399 visitor->trace(m_topLeftRadius);
400 visitor->trace(m_topRightRadius); 400 visitor->trace(m_topRightRadius);
401 visitor->trace(m_bottomRightRadius); 401 visitor->trace(m_bottomRightRadius);
402 visitor->trace(m_bottomLeftRadius); 402 visitor->trace(m_bottomLeftRadius);
403 CSSValue::traceAfterDispatch(visitor); 403 CSSValue::traceAfterDispatch(visitor);
404 } 404 }
405 405
406 } // namespace blink 406 } // namespace blink
407 407
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSFontFaceSrcValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698