aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/LayerDrawLooperTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/LayerDrawLooperTest.cpp')
-rw-r--r--tests/LayerDrawLooperTest.cpp5
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;