summaryrefslogtreecommitdiffstats
path: root/chrome/browser/about_internets_status_view.cc
diff options
context:
space:
mode:
authorevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 21:26:07 +0000
committerevanm@google.com <evanm@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-06 21:26:07 +0000
commit1671de4c8e8867be055ff22045afc1d9d946fc84 (patch)
tree859477f7be145e9b1f7339c88f072d142b67439a /chrome/browser/about_internets_status_view.cc
parentaedf8a906eea7b86892a4d628e067033fbd06261 (diff)
downloadchromium_src-1671de4c8e8867be055ff22045afc1d9d946fc84.zip
chromium_src-1671de4c8e8867be055ff22045afc1d9d946fc84.tar.gz
chromium_src-1671de4c8e8867be055ff22045afc1d9d946fc84.tar.bz2
Drop FixedString. It's only used in two places, one where it doesn't really matter and the other where it was incorrect.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@458 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/about_internets_status_view.cc')
-rw-r--r--chrome/browser/about_internets_status_view.cc11
1 files changed, 5 insertions, 6 deletions
diff --git a/chrome/browser/about_internets_status_view.cc b/chrome/browser/about_internets_status_view.cc
index 43d39b6..196359f 100644
--- a/chrome/browser/about_internets_status_view.cc
+++ b/chrome/browser/about_internets_status_view.cc
@@ -30,7 +30,6 @@
#include "base/file_util.h"
#include "base/path_service.h"
#include "base/string_util.h"
-#include "base/fixed_string.h"
#include "chrome/browser/about_internets_status_view.h"
#include "chrome/browser/tab_contents_delegate.h"
@@ -60,15 +59,15 @@ void AboutInternetsStatusView::OnCreate(const CRect& rect) {
std::wstring path;
PathService::Get(base::DIR_SYSTEM, &path);
file_util::AppendToPath(&path, L"sspipes.scr");
- FixedString<wchar_t, MAX_PATH> parameters;
- parameters.Append(path.c_str());
+ std::wstring parameters;
+ parameters.append(path.c_str());
// Append the handle of the HWND that we want to render the pipes into.
- parameters.Append(L" /p ");
- parameters.Append(
+ parameters.append(L" /p ");
+ parameters.append(
Int64ToWString(reinterpret_cast<int64>(contents_hwnd)).c_str());
BOOL result =
CreateProcess(NULL,
- parameters.get(),
+ const_cast<LPWSTR>(parameters.c_str()),
NULL, // LPSECURITY_ATTRIBUTES lpProcessAttributes
NULL, // LPSECURITY_ATTRIBUTES lpThreadAttributes
FALSE, // BOOL bInheritHandles