summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/webplugin_delegate_proxy.cc
diff options
context:
space:
mode:
authordcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 03:14:12 +0000
committerdcheng@chromium.org <dcheng@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-10-05 03:14:12 +0000
commit2d04fb5283f7ce8a55810e26582372d396d16fa8 (patch)
tree950675a584e7c8d0115a696fe1ff0f2cd8b7d559 /chrome/renderer/webplugin_delegate_proxy.cc
parent88e03fa16a2ed1a178822d4ba46dd96a276815a4 (diff)
downloadchromium_src-2d04fb5283f7ce8a55810e26582372d396d16fa8.zip
chromium_src-2d04fb5283f7ce8a55810e26582372d396d16fa8.tar.gz
chromium_src-2d04fb5283f7ce8a55810e26582372d396d16fa8.tar.bz2
Update Chrome to use the renamed WebDragData methods.
BUG=none TEST=none Review URL: http://codereview.chromium.org/3526017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@61472 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/webplugin_delegate_proxy.cc')
-rw-r--r--chrome/renderer/webplugin_delegate_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/renderer/webplugin_delegate_proxy.cc b/chrome/renderer/webplugin_delegate_proxy.cc
index 7bf368e..e469338 100644
--- a/chrome/renderer/webplugin_delegate_proxy.cc
+++ b/chrome/renderer/webplugin_delegate_proxy.cc
@@ -1142,7 +1142,7 @@ void WebPluginDelegateProxy::OnShowModalHTMLDialog(
static void EncodeDragData(const WebDragData& data, bool add_data,
NPVariant* drag_type, NPVariant* drag_data) {
const NPString* np_drag_type;
- if (data.hasFileNames()) {
+ if (data.containsFilenames()) {
static const NPString kFiles = { "Files", 5 };
np_drag_type = &kFiles;
} else {
@@ -1160,7 +1160,7 @@ static void EncodeDragData(const WebDragData& data, bool add_data,
}
WebVector<WebString> files;
- data.fileNames(files);
+ data.filenames(files);
static std::string utf8;
utf8.clear();