| 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 fa3ab180b938176f1d640efa83138888d41dbc2a..f93af95b4f933e11864923034fd55526c30e4969 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/CSSKeywordValue.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) {
|
|
|