diff options
Diffstat (limited to 'src/views/SkViewPriv.h')
-rw-r--r-- | src/views/SkViewPriv.h | 43 |
1 files changed, 0 insertions, 43 deletions
diff --git a/src/views/SkViewPriv.h b/src/views/SkViewPriv.h deleted file mode 100644 index 3b7645712c..0000000000 --- a/src/views/SkViewPriv.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * Copyright 2011 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ -#ifndef SkViewPriv_DEFINED -#define SkViewPriv_DEFINED - -#include "SkView.h" -#include "SkTagList.h" - -struct Layout_SkTagList : SkTagList { - SkView::Layout* fLayout; - - Layout_SkTagList(SkView::Layout* layout) - : SkTagList(kViewLayout_SkTagList), fLayout(layout) - { - SkASSERT(layout); - layout->ref(); - } - virtual ~Layout_SkTagList() - { - fLayout->unref(); - } -}; - -struct Artist_SkTagList : SkTagList { - SkView::Artist* fArtist; - - Artist_SkTagList(SkView::Artist* artist) - : SkTagList(kViewArtist_SkTagList), fArtist(artist) - { - SkASSERT(artist); - artist->ref(); - } - virtual ~Artist_SkTagList() - { - fArtist->unref(); - } -}; - -#endif |