summaryrefslogtreecommitdiffstats
path: root/content/browser/web_contents/web_contents_drag_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'content/browser/web_contents/web_contents_drag_win.cc')
-rw-r--r--content/browser/web_contents/web_contents_drag_win.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/content/browser/web_contents/web_contents_drag_win.cc b/content/browser/web_contents/web_contents_drag_win.cc
index a68faaa..99c9bd6 100644
--- a/content/browser/web_contents/web_contents_drag_win.cc
+++ b/content/browser/web_contents/web_contents_drag_win.cc
@@ -282,12 +282,12 @@ void WebContentsDragWin::DoDragging(const WebDropData& drop_data,
// a shortcut so we add it first.
if (!drop_data.file_contents.empty())
PrepareDragForFileContents(drop_data, &data);
- if (!drop_data.text_html.empty())
- data.SetHtml(drop_data.text_html, drop_data.html_base_url);
+ if (!drop_data.html.string().empty())
+ data.SetHtml(drop_data.html.string(), drop_data.html_base_url);
// We set the text contents before the URL because the URL also sets text
// content.
- if (!drop_data.plain_text.empty())
- data.SetString(drop_data.plain_text);
+ if (!drop_data.text.string().empty())
+ data.SetString(drop_data.text.string());
if (drop_data.url.is_valid())
PrepareDragForUrl(drop_data, &data);
if (!drop_data.custom_data.empty()) {