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

Unified Diff: third_party/WebKit/Source/platform/mhtml/MHTMLParser.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/mhtml/MHTMLParser.cpp
diff --git a/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp b/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
index 605b4a37b7bbea57d8a9a2273789aa2cfc3dd23b..6393f8a197a12fd7920caa499465738554fa0fa7 100644
--- a/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
+++ b/third_party/WebKit/Source/platform/mhtml/MHTMLParser.cpp
@@ -200,7 +200,7 @@ static bool skipLinesUntilBoundaryFound(SharedBufferChunkReader& lineReader, con
}
MHTMLParser::MHTMLParser(PassRefPtr<SharedBuffer> data)
- : m_lineReader(data, "\r\n")
+ : m_lineReader(std::move(data), "\r\n")
{
}

Powered by Google App Engine
This is Rietveld 408576698