| Index: content/browser/web_contents/web_contents_drag_win.cc
|
| diff --git a/content/browser/web_contents/web_contents_drag_win.cc b/content/browser/web_contents/web_contents_drag_win.cc
|
| index a68faaad1464eb45ea10448583f9cb71677081d3..99c9bd613bc32514476fdde126b6861c4b397084 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()) {
|
|
|