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

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

Issue 2729093003: Remove some unnecessary 'using namespace' (Closed)
Patch Set: Created 3 years, 9 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/CSSPrimitiveValue.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 17 matching lines...) Expand all
28 */ 28 */
29 29
30 #include "core/css/CSSBasicShapeValues.h" 30 #include "core/css/CSSBasicShapeValues.h"
31 31
32 #include "core/css/CSSIdentifierValue.h" 32 #include "core/css/CSSIdentifierValue.h"
33 #include "core/css/CSSPrimitiveValue.h" 33 #include "core/css/CSSPrimitiveValue.h"
34 #include "core/css/CSSValuePair.h" 34 #include "core/css/CSSValuePair.h"
35 #include "platform/Length.h" 35 #include "platform/Length.h"
36 #include "wtf/text/StringBuilder.h" 36 #include "wtf/text/StringBuilder.h"
37 37
38 using namespace WTF;
39
40 namespace blink { 38 namespace blink {
41 39
42 static String buildCircleString(const String& radius, 40 static String buildCircleString(const String& radius,
43 const String& centerX, 41 const String& centerX,
44 const String& centerY) { 42 const String& centerY) {
45 char at[] = "at"; 43 char at[] = "at";
46 char separator[] = " "; 44 char separator[] = " ";
47 StringBuilder result; 45 StringBuilder result;
48 result.append("circle("); 46 result.append("circle(");
49 if (!radius.isNull()) 47 if (!radius.isNull())
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
429 visitor->trace(m_bottom); 427 visitor->trace(m_bottom);
430 visitor->trace(m_left); 428 visitor->trace(m_left);
431 visitor->trace(m_topLeftRadius); 429 visitor->trace(m_topLeftRadius);
432 visitor->trace(m_topRightRadius); 430 visitor->trace(m_topRightRadius);
433 visitor->trace(m_bottomRightRadius); 431 visitor->trace(m_bottomRightRadius);
434 visitor->trace(m_bottomLeftRadius); 432 visitor->trace(m_bottomLeftRadius);
435 CSSValue::traceAfterDispatch(visitor); 433 CSSValue::traceAfterDispatch(visitor);
436 } 434 }
437 435
438 } // namespace blink 436 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/CSSPrimitiveValue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698