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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontDataForRangeSet.h

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/FontDataForRangeSet.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontDataForRangeSet.h b/third_party/WebKit/Source/platform/fonts/FontDataForRangeSet.h
index 4bb1aaec788297acf5b7587ea1486a50d3920dad..4114a9bc3fb01601d1ae2b160e6f2980b32567dd 100644
--- a/third_party/WebKit/Source/platform/fonts/FontDataForRangeSet.h
+++ b/third_party/WebKit/Source/platform/fonts/FontDataForRangeSet.h
@@ -73,7 +73,7 @@ class PLATFORM_EXPORT FontDataForRangeSetFromCache : public FontDataForRangeSet
public:
explicit FontDataForRangeSetFromCache(PassRefPtr<SimpleFontData> fontData,
PassRefPtr<UnicodeRangeSet> rangeSet = nullptr)
- : FontDataForRangeSet(fontData, rangeSet)
+ : FontDataForRangeSet(std::move(fontData), std::move(rangeSet))
{
}
virtual ~FontDataForRangeSetFromCache();

Powered by Google App Engine
This is Rietveld 408576698