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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutScrollbar.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/LayoutScrollbar.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
index 2b8a525bf0ab7b3c748007d61dbe0821c70f504a..0d630edfb755ad3d3047b4fe57cbd457bb92f572 100644
--- a/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutScrollbar.cpp
@@ -302,7 +302,7 @@ void LayoutScrollbar::updateScrollbarPart(ScrollbarPart partType,
}
if (partLayoutObject)
- partLayoutObject->setStyleWithWritingModeOfParent(partStyle.release());
+ partLayoutObject->setStyleWithWritingModeOfParent(std::move(partStyle));
}
IntRect LayoutScrollbar::buttonRect(ScrollbarPart partType) const {

Powered by Google App Engine
This is Rietveld 408576698