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

Unified Diff: chrome_frame/dll_redirector.cc

Issue 5848005: base/version: remove wstring version (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 years 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
Index: chrome_frame/dll_redirector.cc
diff --git a/chrome_frame/dll_redirector.cc b/chrome_frame/dll_redirector.cc
index 97143a7f93f5bb96999cfea6751e5afe5cfff0cc..822e4742d2e20882f8357e7cfbb18b2cd56b52d0 100644
--- a/chrome_frame/dll_redirector.cc
+++ b/chrome_frame/dll_redirector.cc
@@ -14,6 +14,7 @@
#include "base/logging.h"
#include "base/path_service.h"
#include "base/shared_memory.h"
+#include "base/string_util.h"
#include "base/sys_info.h"
#include "base/utf_string_conversions.h"
#include "base/version.h"
@@ -247,7 +248,7 @@ Version* DllRedirector::GetCurrentModuleVersion() {
Version* current_version = NULL;
if (file_version_info.get()) {
current_version = Version::GetVersionFromString(
- file_version_info->file_version());
+ WideToASCII(file_version_info->file_version()));
DCHECK(current_version);
}

Powered by Google App Engine
This is Rietveld 408576698