Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1792)

Unified Diff: Source/wtf/testing/WTFTestHelpers.h

Issue 48523009: Fix unused functions warnings on Linux. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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();
}
« Source/core/loader/FrameLoader.cpp ('K') | « Source/core/svg/SVGFontFaceElement.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698