diff options
Diffstat (limited to 'src/views/SkWidgetViews.cpp')
-rw-r--r-- | src/views/SkWidgetViews.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/src/views/SkWidgetViews.cpp b/src/views/SkWidgetViews.cpp index 2705307..2803d93 100644 --- a/src/views/SkWidgetViews.cpp +++ b/src/views/SkWidgetViews.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 "SkWidgetViews.h" #include "SkAnimator.h" #include "SkCanvas.h" @@ -398,7 +405,7 @@ SkView* SkWidgetFactory(SkWidgetEnum sw) case kText_WidgetEnum: return new SkStaticTextView; default: - SkASSERT(!"unknown enum passed to SkWidgetFactory"); + SkDEBUGFAIL("unknown enum passed to SkWidgetFactory"); break; } return NULL; |