| Index: third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl
|
| index 232a5287083ea5c0bad14d5d93c122aea0b9127e..6587e2ded145c760209567fdc56a49ffbff23f2e 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/CSSOMTypes.cpp.tmpl
|
| @@ -7,7 +7,7 @@
|
| #include "core/css/CSSPropertyMetadata.h"
|
| #include "core/css/cssom/CSSOMKeywords.h"
|
| #include "core/css/cssom/KeywordValue.h"
|
| -#include "core/css/cssom/LengthValue.h"
|
| +#include "core/css/cssom/CSSLengthValue.h"
|
|
|
| namespace blink {
|
|
|
| @@ -15,7 +15,7 @@ bool CSSOMTypes::propertyCanTake(CSSPropertyID id, const StyleValue& styleValue)
|
| {
|
| // Shortcut special case.
|
| if (styleValue.type() == StyleValue::SimpleLengthType || styleValue.type() == StyleValue::CalcLengthType) {
|
| - if (toLengthValue(styleValue).containsPercent() && !CSSPropertyMetadata::propertySupportsPercentage(id)) {
|
| + if (toCSSLengthValue(styleValue).containsPercent() && !CSSPropertyMetadata::propertySupportsPercentage(id)) {
|
| return false;
|
| }
|
| } else if (styleValue.type() == StyleValue::KeywordType) {
|
|
|