Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: skia/config/sk_ref_cnt_ext_release.h

Issue 40973002: Enable reference adoption checks for Blink+skia in Debug builds. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Patching on gpu bots is basically broken, use rietveld for arbitrary patches. Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SK_REF_CNT_EXT_RELEASE_H_
6 #define SK_REF_CNT_EXT_RELEASE_H_
7
8 #ifdef SK_REF_CNT_EXT_DEBUG_H_
9 #error Only one SkRefCnt should be used.
10 #endif
11
12 // Alternate implementation of SkRefCnt for Chromium release builds
13 class SK_API SkRefCnt : public SkRefCntBase {
14 public:
15 void deref() const { SkRefCntBase::unref(); }
16 };
17
18 #endif
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698