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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutListMarker.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/LayoutListMarker.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
index 4f8c40092fdd2c43020f0e8e8b8101a3c0022276..c7e5f98625bb2832b136533bfae1c097d7de8ee5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutListMarker.cpp
@@ -499,7 +499,7 @@ void LayoutListMarker::listItemStyleDidChange() {
newStyle->setMarginStart(style()->marginStart());
newStyle->setMarginEnd(style()->marginRight());
}
- setStyle(newStyle.release());
+ setStyle(std::move(newStyle));
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698