From ddf94cf108ae430877f009bd67b9070341426947 Mon Sep 17 00:00:00 2001 From: "commit-bot@chromium.org" Date: Sat, 12 Oct 2013 17:25:17 +0000 Subject: 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 --- tests/LayerDrawLooperTest.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'tests/LayerDrawLooperTest.cpp') 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 looper(SkNEW(SkLayerDrawLooper)); SkLayerDrawLooper::LayerInfo layerInfo; -- cgit v1.2.3