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

Unified Diff: gm/imagefiltersgraph.cpp

Issue 79173002: Remove unnamed namespace usage from 'gm'. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: Created 7 years, 1 month 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 | « no previous file | gm/optimizations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gm/imagefiltersgraph.cpp
diff --git a/gm/imagefiltersgraph.cpp b/gm/imagefiltersgraph.cpp
index 9b9e0551ed842de4b32c70514818d2365256a6ba..4e46869a4ec48fe654cd1f1bab8f2ce13e35c5cd 100644
--- a/gm/imagefiltersgraph.cpp
+++ b/gm/imagefiltersgraph.cpp
@@ -11,19 +11,15 @@
#include "SkBitmapSource.h"
#include "SkBlurImageFilter.h"
#include "SkColorFilter.h"
-#include "SkColorMatrixFilter.h"
#include "SkColorFilterImageFilter.h"
+#include "SkColorMatrixFilter.h"
#include "SkFlattenableBuffers.h"
#include "SkMergeImageFilter.h"
#include "SkMorphologyImageFilter.h"
#include "SkOnce.h"
-#include "SkXfermodeImageFilter.h"
-
#include "SkTestImageFilters.h"
+#include "SkXfermodeImageFilter.h"
-///////////////////////////////////////////////////////////////////////////////
-
-namespace {
// More closely models how Blink's OffsetFilter works as of 10/23/13. SkOffsetImageFilter doesn't
// perform a draw and this one does.
class SimpleOffsetFilter : public SkImageFilter {
@@ -76,7 +72,6 @@ protected:
private:
SkScalar fDX, fDY;
};
-}
static void init_flattenable(int*) {
SK_DEFINE_FLATTENABLE_REGISTRAR_ENTRY(SimpleOffsetFilter)
« no previous file with comments | « no previous file | gm/optimizations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698