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

Unified Diff: third_party/WebKit/Source/wtf/text/StringBuffer.h

Issue 2628763002: Replaced RefPtr::release with std::move in Source/wtf. (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/wtf/text/StringBuffer.h
diff --git a/third_party/WebKit/Source/wtf/text/StringBuffer.h b/third_party/WebKit/Source/wtf/text/StringBuffer.h
index 2f8a4f9b5be028353a1a9adfa24e646d0cb0eb84..46b98cbcabc99a52786689a9496c2ee4e2c79820 100644
--- a/third_party/WebKit/Source/wtf/text/StringBuffer.h
+++ b/third_party/WebKit/Source/wtf/text/StringBuffer.h
@@ -64,7 +64,7 @@ class StringBuffer {
return characters()[i];
}
- PassRefPtr<StringImpl> release() { return m_data.release(); }
+ PassRefPtr<StringImpl> release() { return std::move(m_data); }
private:
RefPtr<StringImpl> m_data;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698