Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(649)

Unified Diff: webkit/glue/webdropdata_win.cc

Issue 2126010: Don't populate WebDropData with file URLs when dragging files. (Closed)
Patch Set: . Created 10 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/tab_contents/web_drop_target_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/glue/webdropdata_win.cc
diff --git a/webkit/glue/webdropdata_win.cc b/webkit/glue/webdropdata_win.cc
index 016fcc052c126549f337e455916f188aa947db3f..bd760905b7af3acf66e0e95f61cf80497aa81035 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;
« no previous file with comments | « chrome/browser/tab_contents/web_drop_target_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698