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

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

Issue 2432883002: Replaced PassRefPtr copies with moves in unit tests. (Closed)
Patch Set: Created 4 years, 2 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/GlyphPageTreeNodeTest.cpp
diff --git a/third_party/WebKit/Source/platform/fonts/GlyphPageTreeNodeTest.cpp b/third_party/WebKit/Source/platform/fonts/GlyphPageTreeNodeTest.cpp
index 6ebb9e83eecc4d45635baec28c760515a2165e00..a8da78d462b0c1db3c1e5cda6f0d89555e3d7123 100644
--- a/third_party/WebKit/Source/platform/fonts/GlyphPageTreeNodeTest.cpp
+++ b/third_party/WebKit/Source/platform/fonts/GlyphPageTreeNodeTest.cpp
@@ -39,7 +39,9 @@ class TestSimpleFontData : public SimpleFontData {
TestSimpleFontData(PassRefPtr<CustomFontData> customData,
UChar32 from,
UChar32 to)
- : SimpleFontData(customData, 10, false, false), m_from(from), m_to(to) {}
+ : SimpleFontData(std::move(customData), 10, false, false),
+ m_from(from),
+ m_to(to) {}
bool fillGlyphPage(GlyphPage* pageToFill,
unsigned offset,

Powered by Google App Engine
This is Rietveld 408576698