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

Unified Diff: third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp

Issue 2628773002: Replaced RefPtr::release with std::move in Source/platform. (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/platform/fonts/shaping/CachingWordShaper.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
index c2261289d0b79598cba7ebe9d6cf657cc9d23b66..5cc8b7f6c4d2d4f9e46336eec79f9f56759e47be 100644
--- a/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
+++ b/third_party/WebKit/Source/platform/fonts/shaping/CachingWordShaper.cpp
@@ -74,7 +74,7 @@ static inline float shapeResultsForRun(
totalWidth += wordResult->width();
if (fallbackFonts)
wordResult->fallbackFonts(fallbackFonts);
- resultsBuffer->appendResult(wordResult.release());
+ resultsBuffer->appendResult(std::move(wordResult));
}
}
return totalWidth;

Powered by Google App Engine
This is Rietveld 408576698