summaryrefslogtreecommitdiffstats
path: root/app/os_exchange_data_provider_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 /app/os_exchange_data_provider_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 'app/os_exchange_data_provider_win.cc')
-rw-r--r--app/os_exchange_data_provider_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/os_exchange_data_provider_win.cc b/app/os_exchange_data_provider_win.cc
index 6e11714..b977252 100644
--- a/app/os_exchange_data_provider_win.cc
+++ b/app/os_exchange_data_provider_win.cc
@@ -370,7 +370,7 @@ bool OSExchangeDataProviderWin::GetString(std::wstring* data) const {
bool OSExchangeDataProviderWin::GetURLAndTitle(GURL* url,
std::wstring* title) const {
std::wstring url_str;
- bool success = ClipboardUtil::GetUrl(source_object_, &url_str, title);
+ bool success = ClipboardUtil::GetUrl(source_object_, &url_str, title, true);
if (success) {
GURL test_url(url_str);
if (test_url.is_valid()) {