OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "core/css/cssom/CSSUnsupportedStyleValue.h" | 5 #include "core/css/cssom/CSSUnsupportedStyleValue.h" |
6 | 6 |
7 #include "core/CSSPropertyNames.h" | 7 #include "core/CSSPropertyNames.h" |
8 #include "core/css/parser/CSSParser.h" | 8 #include "core/css/parser/CSSParser.h" |
9 | 9 |
10 namespace blink { | 10 namespace blink { |
| 11 namespace cssom { |
11 | 12 |
12 const CSSValue* CSSUnsupportedStyleValue::toCSSValue() const | 13 const CSSValue* CSSUnsupportedStyleValue::toCSSValue() const |
13 { | 14 { |
14 NOTREACHED(); | 15 NOTREACHED(); |
15 return nullptr; | 16 return nullptr; |
16 } | 17 } |
17 | 18 |
18 const CSSValue* CSSUnsupportedStyleValue::toCSSValueWithProperty(CSSPropertyID p
ropertyID) const | 19 const CSSValue* CSSUnsupportedStyleValue::toCSSValueWithProperty(CSSPropertyID p
ropertyID) const |
19 { | 20 { |
20 return CSSParser::parseSingleValue(propertyID, m_cssText, strictCSSParserCon
text()); | 21 return CSSParser::parseSingleValue(propertyID, m_cssText, strictCSSParserCon
text()); |
21 } | 22 } |
22 | 23 |
| 24 } // namespace cssom |
23 } // namespace blink | 25 } // namespace blink |
| 26 |
OLD | NEW |