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

Unified Diff: webkit/common/webdropdata.cc

Issue 17327004: Replace base::NullableString16(bool) usage with default constructor. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 6 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: webkit/common/webdropdata.cc
diff --git a/webkit/common/webdropdata.cc b/webkit/common/webdropdata.cc
index 0cc8b0f82e44a3affbfc3d3b78bde2db7c0e51dd..aee885ae828890a7ebae686d875d506b596c5e18 100644
--- a/webkit/common/webdropdata.cc
+++ b/webkit/common/webdropdata.cc
@@ -31,9 +31,7 @@ WebDropData::FileInfo::FileInfo(const base::string16& path,
}
WebDropData::WebDropData(const WebDragData& drag_data)
- : referrer_policy(WebKit::WebReferrerPolicyDefault),
- text(base::NullableString16(true)),
- html(base::NullableString16(true)) {
+ : referrer_policy(WebKit::WebReferrerPolicyDefault) {
const WebVector<WebDragData::Item>& item_list = drag_data.items();
for (size_t i = 0; i < item_list.size(); ++i) {
const WebDragData::Item& item = item_list[i];
@@ -75,9 +73,7 @@ WebDropData::WebDropData(const WebDragData& drag_data)
}
WebDropData::WebDropData()
- : referrer_policy(WebKit::WebReferrerPolicyDefault),
- text(base::NullableString16(true)),
- html(base::NullableString16(true)) {
+ : referrer_policy(WebKit::WebReferrerPolicyDefault) {
}
WebDropData::~WebDropData() {

Powered by Google App Engine
This is Rietveld 408576698