diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-12 17:25:17 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2013-10-12 17:25:17 +0000 |
commit | ddf94cf108ae430877f009bd67b9070341426947 (patch) | |
tree | 91dc1bc9cbc3bf48da2891adfe835e568dee9e1a /tests/LayerDrawLooperTest.cpp | |
parent | b202adec608c78236765e8c543e56e7a7ef695d7 (diff) |
Remove unnamed namespace usage from tests.
Skia code prefers static over unnamed namespace.
BUG=None
TEST=None
R=bsalomon@google.com, robertphillips@google.com
Author: tfarina@chromium.org
Review URL: https://codereview.chromium.org/26962002
git-svn-id: http://skia.googlecode.com/svn/trunk@11747 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/LayerDrawLooperTest.cpp')
-rw-r--r-- | tests/LayerDrawLooperTest.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/tests/LayerDrawLooperTest.cpp b/tests/LayerDrawLooperTest.cpp index 8b1aa0d934..80f986f867 100644 --- a/tests/LayerDrawLooperTest.cpp +++ b/tests/LayerDrawLooperTest.cpp @@ -4,6 +4,7 @@ * Use of this source code is governed by a BSD-style license that can be * found in the LICENSE file. */ + #include "Test.h" #include "SkBitmap.h" #include "SkBitmapDevice.h" @@ -17,8 +18,6 @@ #include "SkScalar.h" #include "SkXfermode.h" -namespace { - class FakeDevice : public SkBitmapDevice { public: FakeDevice() : SkBitmapDevice(SkBitmap::kARGB_8888_Config, 100, 100, false) { } @@ -35,8 +34,6 @@ private: typedef SkBitmapDevice INHERITED; }; -} // namespace - static void test_frontToBack(skiatest::Reporter* reporter) { SkAutoTUnref<SkLayerDrawLooper> looper(SkNEW(SkLayerDrawLooper)); SkLayerDrawLooper::LayerInfo layerInfo; |