Index: cc/test/pixel_test.cc |
diff --git a/cc/test/pixel_test.cc b/cc/test/pixel_test.cc |
index 562dbebfe0a5c4d4701b29420cadd2977c6c6bb6..4b44ecba248f20145b4f0e391888a5ec6e1997ad 100644 |
--- a/cc/test/pixel_test.cc |
+++ b/cc/test/pixel_test.cc |
@@ -20,7 +20,7 @@ namespace cc { |
class PixelTest::PixelTestRendererClient : public RendererClient { |
public: |
- PixelTestRendererClient(gfx::Size device_viewport_size) |
+ explicit PixelTestRendererClient(gfx::Size device_viewport_size) |
: device_viewport_size_(device_viewport_size) {} |
// RendererClient implementation. |
@@ -91,7 +91,7 @@ bool PixelTest::PixelsMatchReference(const base::FilePath& ref_file) { |
return false; |
// To rebaseline: |
- //return WritePNGFile(bitmap, test_data_dir.Append(ref_file)); |
+ // return WritePNGFile(bitmap, test_data_dir.Append(ref_file)); |
return IsSameAsPNGFile(bitmap, test_data_dir.Append(ref_file)); |
} |