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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextFragment.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/LayoutTextFragment.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp b/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
index 903b2be0b7874c4a947dbcd8d46bf3c04ebb47a4..72d1e4fd430d6e00a1399086abdd06f47fbbcd6a 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.cpp
@@ -108,7 +108,7 @@ void LayoutTextFragment::transformText() {
// version we will, potentially, screw up the first-letter settings where
// we only use portions of the string.
if (RefPtr<StringImpl> textToTransform = originalText())
- LayoutText::setText(textToTransform.release(), true);
+ LayoutText::setText(std::move(textToTransform), true);
}
UChar LayoutTextFragment::previousCharacter() const {

Powered by Google App Engine
This is Rietveld 408576698