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

Unified Diff: tests/PixelRefTest.cpp

Issue 132403008: Remove unnamed namespace usage from tests/ (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 6 years, 11 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: tests/PixelRefTest.cpp
diff --git a/tests/PixelRefTest.cpp b/tests/PixelRefTest.cpp
index e0ffd7a6017537fa78b1f3f03a4bd519f3b8c7ec..bc2a44705a00a4d2aff53e426f15f84a41502623 100644
--- a/tests/PixelRefTest.cpp
+++ b/tests/PixelRefTest.cpp
@@ -38,8 +38,6 @@ static void test_info(skiatest::Reporter* reporter) {
}
}
-namespace {
-
class TestListener : public SkPixelRef::GenIDChangeListener {
public:
explicit TestListener(int* ptr) : fPtr(ptr) {}
robertphillips 2014/01/14 13:19:37 virtual?
tfarina 2014/01/21 23:37:43 Done.
@@ -48,8 +46,6 @@ private:
int* fPtr;
};
-} // namespace
-
DEF_TEST(PixelRef_GenIDChange, r) {
SkImageInfo info = { 10, 10, kPMColor_SkColorType, kPremul_SkAlphaType };

Powered by Google App Engine
This is Rietveld 408576698