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

Unified Diff: third_party/WebKit/Source/platform/fonts/SimpleFontData.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/SimpleFontData.h
diff --git a/third_party/WebKit/Source/platform/fonts/SimpleFontData.h b/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
index b23a326921116ea032ed90b308ae2d6f78655f0b..fcdcb2c25fe741af9fb7e06249b1b125c6943c34 100644
--- a/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
+++ b/third_party/WebKit/Source/platform/fonts/SimpleFontData.h
@@ -54,7 +54,7 @@ public:
// Used to create platform fonts.
static PassRefPtr<SimpleFontData> create(const FontPlatformData& platformData, PassRefPtr<CustomFontData> customData = nullptr, bool isTextOrientationFallback = false)
{
- return adoptRef(new SimpleFontData(platformData, customData, isTextOrientationFallback));
+ return adoptRef(new SimpleFontData(platformData, std::move(customData), isTextOrientationFallback));
}
~SimpleFontData() override;

Powered by Google App Engine
This is Rietveld 408576698