summaryrefslogtreecommitdiffstats
path: root/base/base.gypi
diff options
context:
space:
mode:
authorccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-10 13:07:39 +0000
committerccameron@chromium.org <ccameron@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-02-10 13:07:39 +0000
commit59878c08d87bd88bc3081d004b93c0e0cd43632c (patch)
treeb9d5513b306bd73cd123944f4cb11f70fc628d15 /base/base.gypi
parentd7210248e3fc78afcb829dad2170023be10438c6 (diff)
downloadchromium_src-59878c08d87bd88bc3081d004b93c0e0cd43632c.zip
chromium_src-59878c08d87bd88bc3081d004b93c0e0cd43632c.tar.gz
chromium_src-59878c08d87bd88bc3081d004b93c0e0cd43632c.tar.bz2
Add helpers for CGL types.
Add base::ScopedTypeRef, which is similar to ScopedCFTypeRef, but allows for parameterized retain and release functions. This is necessary for types such as CGLContextObj, which have their own retain and release methods (and for which calling CFRelease will result in crashes). Add some common typedefs of ScopedTypeRef to cgl_util in ui, along with a scoped CGLContextObj make-current class. BUG=245900 R=thakis@chromium.org,mark@chromium.org TBR=garykac@chromium.org Review URL: https://codereview.chromium.org/157063002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@250077 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/base.gypi')
-rw-r--r--base/base.gypi1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/base.gypi b/base/base.gypi
index 2d3a01d..29e8e46 100644
--- a/base/base.gypi
+++ b/base/base.gypi
@@ -295,6 +295,7 @@
'mac/scoped_nsobject.h',
'mac/scoped_sending_event.h',
'mac/scoped_sending_event.mm',
+ 'mac/scoped_typeref.h',
'mac/sdk_forward_declarations.h',
'macros.h',
'md5.cc',