diff options
Diffstat (limited to 'src/effects/SkPixelXorXfermode.cpp')
-rw-r--r-- | src/effects/SkPixelXorXfermode.cpp | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/src/effects/SkPixelXorXfermode.cpp b/src/effects/SkPixelXorXfermode.cpp index f4a74ee..935a475 100644 --- a/src/effects/SkPixelXorXfermode.cpp +++ b/src/effects/SkPixelXorXfermode.cpp @@ -1,19 +1,12 @@ -/* - Copyright 2011 Google Inc. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. +/* + * 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 "SkPixelXorXfermode.h" #include "SkColorPriv.h" @@ -43,6 +36,4 @@ SkFlattenable* SkPixelXorXfermode::Create(SkFlattenableReadBuffer& rb) { return SkNEW_ARGS(SkPixelXorXfermode, (rb)); } -static SkFlattenable::Registrar - gSkPixelXorXfermodeReg("SkPixelXorXfermode", - SkPixelXorXfermode::CreateProc); +SK_DEFINE_FLATTENABLE_REGISTRAR(SkPixelXorXfermode) |