summaryrefslogtreecommitdiffstats
path: root/chrome_frame/chrome_frame_activex.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome_frame/chrome_frame_activex.cc')
-rw-r--r--chrome_frame/chrome_frame_activex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome_frame/chrome_frame_activex.cc b/chrome_frame/chrome_frame_activex.cc
index 3803fad..0e6eb21 100644
--- a/chrome_frame/chrome_frame_activex.cc
+++ b/chrome_frame/chrome_frame_activex.cc
@@ -270,7 +270,7 @@ void ChromeFrameActivex::OnGetEnabledExtensionsComplete(
for (size_t i = 0; i < extension_directories.size(); ++i) {
LONG index = static_cast<LONG>(i);
::SafeArrayPutElement(sa, &index, reinterpret_cast<void*>(
- CComBSTR(extension_directories[i].ToWStringHack().c_str()).Detach()));
+ CComBSTR(extension_directories[i].value().c_str()).Detach()));
}
Fire_ongetenabledextensionscomplete(sa);