diff options
Diffstat (limited to 'src/images/SkFlipPixelRef.cpp')
-rw-r--r-- | src/images/SkFlipPixelRef.cpp | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/images/SkFlipPixelRef.cpp b/src/images/SkFlipPixelRef.cpp index 39e1a12..e81c83c 100644 --- a/src/images/SkFlipPixelRef.cpp +++ b/src/images/SkFlipPixelRef.cpp @@ -1,3 +1,10 @@ + +/* + * Copyright 2011 Google Inc. + * + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. + */ #include "SkFlipPixelRef.h" #include "SkFlattenable.h" #include "SkRegion.h" @@ -74,8 +81,7 @@ SkPixelRef* SkFlipPixelRef::Create(SkFlattenableReadBuffer& buffer) { return SkNEW_ARGS(SkFlipPixelRef, (buffer)); } -static SkPixelRef::Registrar reg("SkFlipPixelRef", - SkFlipPixelRef::Create); +SK_DEFINE_PIXEL_REF_REGISTRAR(SkFlipPixelRef) /////////////////////////////////////////////////////////////////////////////// |