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

Unified Diff: cc/test/pixel_test.cc

Issue 12965007: Fix cpplint errors in cc/(animation|input|layers|trees|test)/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 9 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 | « cc/test/occlusion_tracker_test_common.h ('k') | cc/test/pixel_test_utils.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « cc/test/occlusion_tracker_test_common.h ('k') | cc/test/pixel_test_utils.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698