From 1671de4c8e8867be055ff22045afc1d9d946fc84 Mon Sep 17 00:00:00 2001 From: "evanm@google.com" Date: Wed, 6 Aug 2008 21:26:07 +0000 Subject: 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 --- chrome/browser/about_internets_status_view.cc | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'chrome/browser/about_internets_status_view.cc') 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 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(contents_hwnd)).c_str()); BOOL result = CreateProcess(NULL, - parameters.get(), + const_cast(parameters.c_str()), NULL, // LPSECURITY_ATTRIBUTES lpProcessAttributes NULL, // LPSECURITY_ATTRIBUTES lpThreadAttributes FALSE, // BOOL bInheritHandles -- cgit v1.1