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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTable.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/LayoutTable.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTable.cpp b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
index a541b242260e9fc510be933094d0f12474574e54..05f49f63ccb89233eddb86011590306831bfde6f 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTable.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTable.cpp
@@ -1625,7 +1625,7 @@ LayoutTable* LayoutTable::createAnonymousWithParent(
parent->isLayoutInline() ? EDisplay::InlineTable : EDisplay::Table);
LayoutTable* newTable = new LayoutTable(nullptr);
newTable->setDocumentForAnonymous(&parent->document());
- newTable->setStyle(newStyle.release());
+ newTable->setStyle(std::move(newStyle));
return newTable;
}

Powered by Google App Engine
This is Rietveld 408576698