Chromium Code Reviews| Index: printing/units_unittest.cc |
| diff --git a/printing/units_unittest.cc b/printing/units_unittest.cc |
| index 4b7f4bf52fef4483eea56d437bd9e30ad82d3a89..bf9915df95d737a205bd72e7b3f22f427efbbecc 100644 |
| --- a/printing/units_unittest.cc |
| +++ b/printing/units_unittest.cc |
| @@ -6,7 +6,8 @@ |
| #include "testing/gtest/include/gtest/gtest.h" |
| #include "testing/gtest/include/gtest/gtest-spi.h" |
| -using namespace printing; |
| +namespace printing { |
| +namespace { |
|
Lei Zhang
2011/05/10 01:17:03
I don't think you need the anonymous namespace her
tfarina
2011/05/10 01:18:47
I think it's better to protect against http://en.w
tfarina
2011/05/10 01:25:48
Removed.
|
| TEST(UnitsTest, Convertions) { |
| EXPECT_EQ(100, ConvertUnit(100, 100, 100)); |
| @@ -59,3 +60,6 @@ TEST(UnitsTest, Convertions) { |
| EXPECT_EQ(8, ConvertPixelsToPoint(10)); |
| EXPECT_EQ(0, ConvertPixelsToPoint(0)); |
| } |
| + |
| +} // namespace |
| +} // namespace printing |