| Index: third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| diff --git a/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl b/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| index cd223572d9376a6a646d17847e77ff67ec0ef44b..1f7243f64ce0c823f2304b756aeb958b1be49b12 100644
|
| --- a/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| +++ b/third_party/WebKit/Source/build/scripts/templates/StyleBuilderFunctions.cpp.tmpl
|
| @@ -337,7 +337,7 @@ static bool borderImageLengthMatchesAllSides(
|
| typedef CounterDirectiveMap::const_iterator Iterator;
|
| Iterator end = parentMap->end();
|
| for (Iterator it = parentMap->begin(); it != end; ++it) {
|
| - CounterDirectives& directives = map.add(it->key, CounterDirectives()).storedValue->value;
|
| + CounterDirectives& directives = map.insert(it->key, CounterDirectives()).storedValue->value;
|
| directives.inherit{{action}}(it->value);
|
| }
|
| }
|
| @@ -360,7 +360,7 @@ static bool borderImageLengthMatchesAllSides(
|
| AtomicString identifier(toCSSCustomIdentValue(pair.first()).value());
|
| int value = toCSSPrimitiveValue(pair.second()).getIntValue();
|
| CounterDirectives& directives =
|
| - map.add(identifier, CounterDirectives()).storedValue->value;
|
| + map.insert(identifier, CounterDirectives()).storedValue->value;
|
| {% if action == 'Reset' %}
|
| directives.setResetValue(value);
|
| {% else %}
|
|
|