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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTableSection.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/LayoutTableSection.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
index 6fb6a84f70109352033db6532ea9af73bd3d2a83..9bf28babb5c2edb9d3fbf33f509ec1dea976acb5 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTableSection.cpp
@@ -1845,7 +1845,7 @@ LayoutTableSection* LayoutTableSection::createAnonymousWithParent(
EDisplay::TableRowGroup);
LayoutTableSection* newSection = new LayoutTableSection(nullptr);
newSection->setDocumentForAnonymous(&parent->document());
- newSection->setStyle(newStyle.release());
+ newSection->setStyle(std::move(newStyle));
return newSection;
}

Powered by Google App Engine
This is Rietveld 408576698