diff options
author | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-21 00:53:12 +0000 |
---|---|---|
committer | dcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-05-21 00:53:12 +0000 |
commit | e4c5cf49eccde08b693cb9a957a03938a691a18c (patch) | |
tree | 512154771b2e482410d26e4d77f1de92b8cd80f4 /webkit/glue/webdropdata_win.cc | |
parent | dc79d22fcb5ad4eb11db86a78f67516030e9b5c3 (diff) | |
download | chromium_src-e4c5cf49eccde08b693cb9a957a03938a691a18c.zip chromium_src-e4c5cf49eccde08b693cb9a957a03938a691a18c.tar.gz chromium_src-e4c5cf49eccde08b693cb9a957a03938a691a18c.tar.bz2 |
Don't populate WebDropData with file URLs when dragging files.
This is the Windows patch. There will be separate patches for Mac and Linux.
BUG=42685
TEST=none
Review URL: http://codereview.chromium.org/2126010
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@47870 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webdropdata_win.cc')
-rw-r--r-- | webkit/glue/webdropdata_win.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/webkit/glue/webdropdata_win.cc b/webkit/glue/webdropdata_win.cc index 016fcc0..bd76090 100644 --- a/webkit/glue/webdropdata_win.cc +++ b/webkit/glue/webdropdata_win.cc @@ -15,7 +15,8 @@ void WebDropData::PopulateWebDropData(IDataObject* data_object, WebDropData* drop_data) { std::wstring url_str; - if (ClipboardUtil::GetUrl(data_object, &url_str, &drop_data->url_title)) { + if (ClipboardUtil::GetUrl(data_object, &url_str, &drop_data->url_title, + false)) { GURL test_url(url_str); if (test_url.is_valid()) drop_data->url = test_url; |