summaryrefslogtreecommitdiffstats
path: root/chrome
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 /chrome
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 'chrome')
-rw-r--r--chrome/browser/tab_contents/web_drop_target_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/browser/tab_contents/web_drop_target_win.cc b/chrome/browser/tab_contents/web_drop_target_win.cc
index c79578c..a9c6dd2 100644
--- a/chrome/browser/tab_contents/web_drop_target_win.cc
+++ b/chrome/browser/tab_contents/web_drop_target_win.cc
@@ -67,7 +67,7 @@ class InterstitialDropTarget {
if (ClipboardUtil::HasUrl(data_object)) {
std::wstring url;
std::wstring title;
- ClipboardUtil::GetUrl(data_object, &url, &title);
+ ClipboardUtil::GetUrl(data_object, &url, &title, true);
tab_contents_->OpenURL(GURL(url), GURL(), CURRENT_TAB,
PageTransition::AUTO_BOOKMARK);
return GetPreferredDropEffect(effect);