Chromium Code Reviews| Index: Source/wtf/testing/WTFTestHelpers.h |
| diff --git a/Source/wtf/testing/WTFTestHelpers.h b/Source/wtf/testing/WTFTestHelpers.h |
| index 940b4e6b82d4f359051324ccff77d13f6dfe4f52..b09665aa785ace5c1caa4337c7c0ace55931984a 100644 |
| --- a/Source/wtf/testing/WTFTestHelpers.h |
| +++ b/Source/wtf/testing/WTFTestHelpers.h |
| @@ -39,7 +39,7 @@ |
| namespace WTF { |
| // Output stream operator so gTest's macros work with WebCore strings. |
| -static std::ostream& operator<<(std::ostream& out, const String& str) |
| +inline std::ostream& operator<<(std::ostream& out, const String& str) |
|
Nico
2013/10/29 23:07:44
Why do you need this? This header defines a single
lgombos
2013/10/30 03:37:56
Fixed.
|
| { |
| return str.isEmpty() ? out : out << str.utf8().data(); |
| } |