blob: 7736c84cf7e1d4280a260f410a7864e7d4053d95 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SK_REF_CNT_EXT_RELEASE_H_
#define SK_REF_CNT_EXT_RELEASE_H_
#ifdef SK_REF_CNT_EXT_DEBUG_H_
#error Only one SkRefCnt should be used.
#endif
// Alternate implementation of SkRefCnt for Chromium release builds
class SK_API SkRefCnt : public SkRefCntBase {
public:
void deref() const { SkRefCntBase::unref(); }
};
#endif
|