OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |