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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp

Issue 2306293002: Replaced PassRefPtr copies with moves in Source/platform. (Closed)
Patch Set: Created 4 years, 3 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/FontFallbackIterator.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp b/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
index d9deb15651d6df191b8666c3316cba3a68548d70..113661e6e9cec709a81ffffb45f10b1c68a8eb07 100644
--- a/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
+++ b/third_party/WebKit/Source/platform/fonts/FontFallbackIterator.cpp
@@ -18,7 +18,7 @@ PassRefPtr<FontFallbackIterator> FontFallbackIterator::create(
FontFallbackPriority fontFallbackPriority)
{
return adoptRef(new FontFallbackIterator(
- description, fallbackList, fontFallbackPriority));
+ description, std::move(fallbackList), fontFallbackPriority));
}
FontFallbackIterator::FontFallbackIterator(const FontDescription& description,

Powered by Google App Engine
This is Rietveld 408576698