| Index: third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
|
| diff --git a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
|
| index 735e4e6127ba50f79deae67ae90ad789b5339d52..5aa01a313e71cbf31a1a443525fabe2dfe028a24 100644
|
| --- a/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
|
| +++ b/third_party/WebKit/Source/core/inspector/InspectorStyleSheet.cpp
|
| @@ -194,7 +194,7 @@ void StyleSheetHandler::startRuleHeader(StyleRule::RuleType type,
|
| RefPtr<CSSRuleSourceData> data = CSSRuleSourceData::create(type);
|
| data->ruleHeaderRange.start = offset;
|
| m_currentRuleData = data.get();
|
| - m_currentRuleDataStack.push_back(data.release());
|
| + m_currentRuleDataStack.push_back(std::move(data));
|
| }
|
|
|
| template <typename CharacterType>
|
| @@ -242,7 +242,7 @@ void StyleSheetHandler::endRuleBody(unsigned offset) {
|
| RefPtr<CSSRuleSourceData> rule = popRuleData();
|
|
|
| fixUnparsedPropertyRanges(rule.get());
|
| - addNewRuleToSourceTree(rule.release());
|
| + addNewRuleToSourceTree(std::move(rule));
|
| }
|
|
|
| void StyleSheetHandler::addNewRuleToSourceTree(
|
| @@ -1989,7 +1989,7 @@ InspectorStyleSheetForInlineStyle::ruleSourceData() {
|
| &ruleSourceDataResult);
|
| CSSParser::parseDeclarationListForInspector(
|
| parserContextForDocument(&m_element->document()), text, handler);
|
| - ruleSourceData = ruleSourceDataResult.front().release();
|
| + ruleSourceData = std::move(ruleSourceDataResult.front());
|
| }
|
| return ruleSourceData.release();
|
| }
|
|
|