summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webdropdata_win.cc
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-21 00:53:12 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-21 00:53:12 +0000
commite4c5cf49eccde08b693cb9a957a03938a691a18c (patch)
tree512154771b2e482410d26e4d77f1de92b8cd80f4 /webkit/glue/webdropdata_win.cc
parentdc79d22fcb5ad4eb11db86a78f67516030e9b5c3 (diff)
downloadchromium_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.cc3
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;