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

Unified Diff: third_party/WebKit/Source/platform/testing/TransformPrinters.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/testing/TransformPrinters.h
diff --git a/third_party/WebKit/Source/platform/testing/TransformPrinters.h b/third_party/WebKit/Source/platform/testing/TransformPrinters.h
deleted file mode 100644
index 06c5390fda60560285ad3dff77bb3ae1f4a8b486..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/platform/testing/TransformPrinters.h
+++ /dev/null
@@ -1,31 +0,0 @@
-// Copyright 2015 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef TransformPrinters_h
-#define TransformPrinters_h
-
-#include <iosfwd>
-
-namespace blink {
-
-class AffineTransform;
-class TransformationMatrix;
-
-// GTest print support for platform transform classes.
-//
-// To avoid ODR violations, these should also be declared in the respective
-// headers defining these types. This is required because otherwise a template
-// instantiation may be instantiated differently, depending on whether this
-// declaration is found.
-//
-// As a result, it is not necessary to include this file in tests in order to
-// use these printers. If, however, you get a link error about these symbols,
-// you need to make sure the blink_platform_test_support target is linked in
-// your unit test binary.
-void PrintTo(const AffineTransform&, std::ostream*);
-void PrintTo(const TransformationMatrix&, std::ostream*);
-
-} // namespace blink
-
-#endif // TransformPrinters_h

Powered by Google App Engine
This is Rietveld 408576698