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

Unified Diff: third_party/WebKit/Source/platform/geometry/DoubleSize.cpp

Issue 2267183003: Switch from PrintTo to operator<< for platform printers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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: third_party/WebKit/Source/platform/geometry/DoubleSize.cpp
diff --git a/third_party/WebKit/Source/platform/geometry/DoubleSize.cpp b/third_party/WebKit/Source/platform/geometry/DoubleSize.cpp
index ef1642d9ae1cf845a0ea697a220dcaed2f9fb6c3..d4869683af677216957f850ae0d5c7e6d7eb4144 100644
--- a/third_party/WebKit/Source/platform/geometry/DoubleSize.cpp
+++ b/third_party/WebKit/Source/platform/geometry/DoubleSize.cpp
@@ -27,4 +27,9 @@ String DoubleSize::toString() const
return String::format("%lgx%lg", width(), height());
}
+std::ostream& operator<<(std::ostream& ostream, const DoubleSize& size)
+{
+ return ostream << size.toString();
+}
+
} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/geometry/DoubleSize.h ('k') | third_party/WebKit/Source/platform/geometry/FloatBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698