• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright 2014 Google Inc.
3  *
4  * Use of this source code is governed by a BSD-style license that can be
5  * found in the LICENSE file.
6  */
7 
8 #ifndef SkRefCnt_android_DEFINED
9 #define SkRefCnt_android_DEFINED
10 
11 /**
12  *  Android's version of SkRefCnt.
13  *
14  *  Needed so that Chromium Webview, based on a release version of Chromium
15  *  that calls SkRefCnt::deref(), can link against the system's copy of Skia.
16  */
17 class SK_API SkRefCnt : public SkRefCntBase {
18 public:
deref()19   void deref() const { SkRefCntBase::unref(); }
20 };
21 #endif  // SkRefCnt_android_DEFINED
22