Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg

This commit is contained in:
Kyle Huey
2014-03-15 12:00:15 -07:00
parent d2c6fbbb08
commit ea94e7d568
129 changed files with 299 additions and 269 deletions

View File

@@ -83,7 +83,7 @@ _InstanceClass##Constructor(nsISupports *aOuter, REFNSIID aIID, \
return rv; \
} \
\
inst = already_AddRefed<_InstanceClass>(_GetterProc()).get(); \
inst = already_AddRefed<_InstanceClass>(_GetterProc()).take(); \
if (nullptr == inst) { \
rv = NS_ERROR_OUT_OF_MEMORY; \
return rv; \