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

Unified Diff: third_party/WebKit/Source/wtf/text/WTFString.cpp

Issue 2516123002: Out-of-line WTF::String's destructor. (Closed)
Patch Set: Move and copy Created 4 years, 1 month 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 | « third_party/WebKit/Source/wtf/text/WTFString.h ('k') | 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/WTFString.cpp
diff --git a/third_party/WebKit/Source/wtf/text/WTFString.cpp b/third_party/WebKit/Source/wtf/text/WTFString.cpp
index 2d337d6c53ec6f34b29eac2718920a4a2d3bcb29..58d069a232391207eea01d3e3c2b8fb59bbff3c6 100644
--- a/third_party/WebKit/Source/wtf/text/WTFString.cpp
+++ b/third_party/WebKit/Source/wtf/text/WTFString.cpp
@@ -71,6 +71,16 @@ String::String(const char* characters)
reinterpret_cast<const LChar*>(characters))
: nullptr) {}
+String::String(const String&) = default;
+
+String& String::operator=(const String&) = default;
+
+String::String(String&&) = default;
+
+String& String::operator=(String&&) = default;
+
+String::~String() {}
+
void String::append(const StringView& string) {
if (string.isEmpty())
return;
« no previous file with comments | « third_party/WebKit/Source/wtf/text/WTFString.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698