Index: third_party/WebKit/Source/core/dom/Element.cpp |
diff --git a/third_party/WebKit/Source/core/dom/Element.cpp b/third_party/WebKit/Source/core/dom/Element.cpp |
index 8bdd0b8ad69cf16d76e95b77ec0eb9cc40c23c2d..af710a5670f2b3475c8303f1f71f48bc76d84b35 100644 |
--- a/third_party/WebKit/Source/core/dom/Element.cpp |
+++ b/third_party/WebKit/Source/core/dom/Element.cpp |
@@ -3257,7 +3257,7 @@ const ComputedStyle* Element::EnsureComputedStyle( |
PseudoStyleRequest::kForComputedStyle), |
element_style, layout_parent_style); |
DCHECK(result); |
- return element_style->AddCachedPseudoStyle(result.Release()); |
+ return element_style->AddCachedPseudoStyle(std::move(result)); |
} |
const ComputedStyle* Element::NonLayoutObjectComputedStyle() const { |
@@ -3439,7 +3439,7 @@ ComputedStyle* Element::PseudoStyle(const PseudoStyleRequest& request, |
RefPtr<ComputedStyle> result = GetUncachedPseudoStyle(request, parent_style); |
if (result) |
- return style->AddCachedPseudoStyle(result.Release()); |
+ return style->AddCachedPseudoStyle(std::move(result)); |
return nullptr; |
} |