Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: third_party/WebKit/Source/core/layout/LayoutInline.cpp

Issue 2622043003: Replaced RefPtr::release with std::move in Source/core. (Closed)
Patch Set: Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/layout/LayoutInline.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutInline.cpp b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
index 586f8ad27382481423ec5843ea2df2a9c4e326b6..9528aeea9873e7fdc33fa200f3e28618b6f29ab2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutInline.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutInline.cpp
@@ -356,7 +356,7 @@ void LayoutInline::addChildIgnoringContinuation(LayoutObject* newChild,
newStyle->setPosition(positionedAncestor->style()->position());
LayoutBlockFlow* newBox = LayoutBlockFlow::createAnonymous(&document());
- newBox->setStyle(newStyle.release());
+ newBox->setStyle(std::move(newStyle));
LayoutBoxModelObject* oldContinuation = continuation();
setContinuation(newBox);

Powered by Google App Engine
This is Rietveld 408576698