diff options
Diffstat (limited to 'src/core/SkFloat.cpp')
-rw-r--r-- | src/core/SkFloat.cpp | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/src/core/SkFloat.cpp b/src/core/SkFloat.cpp index 504c1d3..ffa5d9a 100644 --- a/src/core/SkFloat.cpp +++ b/src/core/SkFloat.cpp @@ -1,19 +1,12 @@ + /* - * Copyright (C) 2006-2008 The Android Open Source Project - * - * 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 + * Copyright 2008 The Android Open Source Project * - * 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. + * Use of this source code is governed by a BSD-style license that can be + * found in the LICENSE file. */ + #include "SkFloat.h" #include "SkMath.h" @@ -223,7 +216,7 @@ int32_t SkFloat::Sqrt(int32_t packed) { if (packed < 0) { - SkASSERT(!"can't sqrt a negative number"); + SkDEBUGFAIL("can't sqrt a negative number"); return 0; } |