diff options
author | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-04 00:37:11 +0000 |
---|---|---|
committer | danakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-04 00:37:11 +0000 |
commit | 62e832e0f78a47a64d2a9e19757d89f144e04993 (patch) | |
tree | 14139a538d279d4a84bcb425be4d154358cc3ab4 /skia/skia.gyp | |
parent | 4d170e8ba008550917e0a42b0e165f2e7551b7d0 (diff) | |
download | chromium_src-62e832e0f78a47a64d2a9e19757d89f144e04993.zip chromium_src-62e832e0f78a47a64d2a9e19757d89f144e04993.tar.gz chromium_src-62e832e0f78a47a64d2a9e19757d89f144e04993.tar.bz2 |
Add skia::RefPtr class to wrap ref counted classes from Skia.
This class behaves like scoped_refptr and wraps the raw SkRefCnt subclass
so that we don't have to call ref() and unref() directly on the pointers.
Tested by:
unit_tests:RefPtrTest.ReferenceCounting
unit_tests:RefPtrTest.Construct
unit_tests:RefPtrTest.DeclareAndAssign
unit_tests:RefPtrTest.Assign
unit_tests:RefPtrTest.Upcast
BUG=163454
NOTRY=true
Review URL: https://chromiumcodereview.appspot.com/11418217
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@170851 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/skia.gyp')
-rw-r--r-- | skia/skia.gyp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/skia/skia.gyp b/skia/skia.gyp index 0decae1..7a3e20c 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -176,6 +176,7 @@ 'ext/platform_device_linux.cc', 'ext/platform_device_mac.cc', 'ext/platform_device_win.cc', + 'ext/refptr.h', 'ext/SkMemory_new_handler.cpp', 'ext/skia_sandbox_support_win.h', 'ext/skia_sandbox_support_win.cc', |