| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2013 Google Inc. All rights reserved. | 2 * Copyright (C) 2013 Google Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * * Redistributions of source code must retain the above copyright | 4 * * Redistributions of source code must retain the above copyright |
| 5 * notice, this list of conditions and the following disclaimer. | 5 * notice, this list of conditions and the following disclaimer. |
| 6 * * Redistributions in binary form must reproduce the above | 6 * * Redistributions in binary form must reproduce the above |
| 7 * copyright notice, this list of conditions and the following disclaimer | 7 * copyright notice, this list of conditions and the following disclaimer |
| 8 * in the documentation and/or other materials provided with the | 8 * in the documentation and/or other materials provided with the |
| 9 * distribution. | 9 * distribution. |
| 10 * * Neither the name of Google Inc. nor the names of its | 10 * * Neither the name of Google Inc. nor the names of its |
| (...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 87 ASSERT_NOT_REACHED(); | 87 ASSERT_NOT_REACHED(); |
| 88 return 0; | 88 return 0; |
| 89 } | 89 } |
| 90 | 90 |
| 91 template <CSSValueID IdForNone> | 91 template <CSSValueID IdForNone> |
| 92 AtomicString StyleBuilderConverter::convertString(StyleResolverState&, CSSValue*
value) | 92 AtomicString StyleBuilderConverter::convertString(StyleResolverState&, CSSValue*
value) |
| 93 { | 93 { |
| 94 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); | 94 CSSPrimitiveValue* primitiveValue = toCSSPrimitiveValue(value); |
| 95 if (primitiveValue->getValueID() == IdForNone) | 95 if (primitiveValue->getValueID() == IdForNone) |
| 96 return nullAtom; | 96 return nullAtom; |
| 97 return primitiveValue->getStringValue(); | 97 return AtomicString(primitiveValue->getStringValue()); |
| 98 } | 98 } |
| 99 | 99 |
| 100 } // namespace WebCore | 100 } // namespace WebCore |
| 101 | 101 |
| 102 #endif | 102 #endif |
| OLD | NEW |