summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_npapi.cc
diff options
context:
space:
mode:
authortfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-08 01:03:16 +0000
committertfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-08 01:03:16 +0000
commit466a92233d4fd084e5e272b3e2af91b19e7b7edc (patch)
tree3e552ad59eaaf99b7e1020a8d23c624fa46f05bb /chrome_frame/chrome_frame_npapi.cc
parentb04cfb5ac972b460323dba7e3e79105ee44b491a (diff)
downloadchromium_src-466a92233d4fd084e5e272b3e2af91b19e7b7edc.zip
chromium_src-466a92233d4fd084e5e272b3e2af91b19e7b7edc.tar.gz
chromium_src-466a92233d4fd084e5e272b3e2af91b19e7b7edc.tar.bz2
chrome_frame: Get rid of all occurrences of the deprecated ToWStringHack function.
BUG=24874 TEST=trybots Review URL: http://codereview.chromium.org/2632006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49133 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome_frame/chrome_frame_npapi.cc')
-rw-r--r--chrome_frame/chrome_frame_npapi.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome_frame/chrome_frame_npapi.cc b/chrome_frame/chrome_frame_npapi.cc
index 241a0ef..23638e5 100644
--- a/chrome_frame/chrome_frame_npapi.cc
+++ b/chrome_frame/chrome_frame_npapi.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2010 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -1345,7 +1345,7 @@ void ChromeFrameNPAPI::OnGetEnabledExtensionsComplete(
const std::vector<FilePath>& extension_directories) {
std::vector<std::wstring> extension_paths;
for (size_t i = 0; i < extension_directories.size(); ++i) {
- extension_paths.push_back(extension_directories[i].ToWStringHack());
+ extension_paths.push_back(extension_directories[i].value());
}
std::wstring tab_delimited = JoinString(extension_paths, L'\t');