diff options
author | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 19:49:26 +0000 |
---|---|---|
committer | sgk@google.com <sgk@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-04-24 19:49:26 +0000 |
commit | 97ddfb2c07de5f3945f0b2f8a98f6f40d70e66af (patch) | |
tree | 9cd4806d42ab2eb67a1f03cf26c23ec48d55c5cf /chrome/test/ui | |
parent | 5dee2add09d2e6f3a397f567a82791c37a747509 (diff) | |
download | chromium_src-97ddfb2c07de5f3945f0b2f8a98f6f40d70e66af.zip chromium_src-97ddfb2c07de5f3945f0b2f8a98f6f40d70e66af.tar.gz chromium_src-97ddfb2c07de5f3945f0b2f8a98f6f40d70e66af.tar.bz2 |
Eliminate a dependency on _com_issue_error() (via the use of _bstr_t)
by removing a no-longer-necessary std::ostream operator<< overload.
Review URL: http://codereview.chromium.org/92134
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@14453 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/test/ui')
-rw-r--r-- | chrome/test/ui/npapi_uitest.cc | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/chrome/test/ui/npapi_uitest.cc b/chrome/test/ui/npapi_uitest.cc index 3a8905a..d720af9 100644 --- a/chrome/test/ui/npapi_uitest.cc +++ b/chrome/test/ui/npapi_uitest.cc @@ -28,16 +28,6 @@ const char kTestCompleteSuccess[] = "OK"; const int kLongWaitTimeout = 30 * 1000; const int kShortWaitTimeout = 5 * 1000; -std::ostream& operator<<(std::ostream& out, const CComBSTR &str) -{ - // I love strings. I really do. That's why I make sure - // to need 4 different types of strings to stream one out. - TCHAR szFinal[1024]; - _bstr_t bstrIntermediate(str); - _stprintf_s(szFinal, _T("%s"), (LPCTSTR)bstrIntermediate); - return out << szFinal; -} - // Test passing arguments to a plugin. TEST_F(NPAPITester, Arguments) { std::wstring test_case = L"arguments.html"; |