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

Unified Diff: third_party/WebKit/Source/platform/geometry/LayoutRect.h

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/LayoutRect.h
diff --git a/third_party/WebKit/Source/platform/geometry/LayoutRect.h b/third_party/WebKit/Source/platform/geometry/LayoutRect.h
index f252f8aa45b6ab7a06f691c57f3930e2877e5cd6..c7c31ed9a7958dd215dd26086dde05ae55498b32 100644
--- a/third_party/WebKit/Source/platform/geometry/LayoutRect.h
+++ b/third_party/WebKit/Source/platform/geometry/LayoutRect.h
@@ -268,9 +268,7 @@ inline IntRect pixelSnappedIntRect(LayoutPoint location, LayoutSize size)
return IntRect(roundedIntPoint(location), pixelSnappedIntSize(size, location));
}
-// Redeclared here to avoid ODR issues.
-// See platform/testing/GeometryPrinters.h.
-void PrintTo(const LayoutRect&, std::ostream*);
+PLATFORM_EXPORT std::ostream& operator<<(std::ostream&, const LayoutRect&);
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698