| Index: third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| index 9d67471662806ebae405f92442b995c1fb17ee1d..246dcc0c4728a16a9f4f2d5c98a109278deadedf 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleBuilderCustom.cpp
|
| @@ -927,6 +927,7 @@ void StyleBuilderFunctions::applyValueCSSPropertyVariable(
|
| else
|
| initial = true;
|
| }
|
| + DCHECK(initial ^ inherit);
|
|
|
| state.style()->removeVariable(name, isInheritedProperty);
|
| if (initial) {
|
|
|