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

Unified Diff: Source/core/layout/OverflowModelTest.cpp

Issue 1285413007: Unify geometry test printers in a test support target. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: PrintTo instead of operator<< Created 5 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
« no previous file with comments | « no previous file | Source/platform/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/OverflowModelTest.cpp
diff --git a/Source/core/layout/OverflowModelTest.cpp b/Source/core/layout/OverflowModelTest.cpp
index 4418efc7ab3400a299d793cd3ccce818bd687717..ccca93bd49cd2847eef2f0e72ed5190a3a365889 100644
--- a/Source/core/layout/OverflowModelTest.cpp
+++ b/Source/core/layout/OverflowModelTest.cpp
@@ -35,17 +35,6 @@
#include <gtest/gtest.h>
namespace blink {
-
-// FIXME: Move this somewhere more generic.
-void PrintTo(const LayoutRect& rect, std::ostream* os)
-{
- *os << "LayoutRect("
- << rect.x().toFloat() << ", "
- << rect.y().toFloat() << ", "
- << rect.width().toFloat() << ", "
- << rect.height().toFloat() << ")";
-}
-
namespace {
LayoutRect initialLayoutOverflow()
@@ -187,5 +176,4 @@ TEST_F(OverflowModelTest, MoveAffectsContentsVisualOverflow)
}
} // anonymous namespace
-
} // namespace blink
« no previous file with comments | « no previous file | Source/platform/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698