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

Unified Diff: third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp

Issue 1855303002: Replace filter outsets with bounds mapping in Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: senorblanco review comments Created 4 years, 8 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
« no previous file with comments | « third_party/WebKit/Source/platform/testing/GeometryPrinters.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
diff --git a/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp b/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
index 2d7226da077f444a07f3dd578c66bd57d8dbb923..cc26b5fe033157718a9e5a78cd2c736aff9b94d6 100644
--- a/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
+++ b/third_party/WebKit/Source/platform/testing/GeometryPrinters.cpp
@@ -118,6 +118,15 @@ void PrintTo(const FloatSize& size, std::ostream* os)
<< size.height() << ")";
}
+void PrintTo(const IntRect& rect, std::ostream* os)
+{
+ *os << "IntRect("
+ << rect.x() << ", "
+ << rect.y() << ", "
+ << rect.width() << ", "
+ << rect.height() << ")";
+}
+
void PrintTo(const LayoutRect& rect, std::ostream* os)
{
ScopedFloatFlags scope(*os);
« no previous file with comments | « third_party/WebKit/Source/platform/testing/GeometryPrinters.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698