summaryrefslogtreecommitdiffstats
path: root/chrome/test/ui
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/ui')
-rw-r--r--chrome/test/ui/npapi_uitest.cc10
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";