Sanitizing source files in Housekeeper-Nightly
git-svn-id: http://skia.googlecode.com/svn/trunk@9631 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
baafdec13c
commit
f85693d53a
@ -456,7 +456,7 @@ void* operator new(size_t, SkTArray<T, MEM_COPY>* array, int atIndex) {
|
||||
// Skia doesn't use C++ exceptions but it may be compiled with them enabled. Having an op delete
|
||||
// to match the op new silences warnings about missing op delete when a constructor throws an
|
||||
// exception.
|
||||
template <typename T, bool MEM_COPY>
|
||||
template <typename T, bool MEM_COPY>
|
||||
void operator delete(void*, SkTArray<T, MEM_COPY>* array, int atIndex) {
|
||||
SK_CRASH();
|
||||
}
|
||||
|
@ -86,7 +86,7 @@ protected:
|
||||
//attach the new fPrev and call unref to balance the ref in onDraw
|
||||
this->attachChildToBack(fPrev)->unref();
|
||||
this->inval(NULL);
|
||||
|
||||
|
||||
SkASSERT(1 == prev->getRefCnt());
|
||||
prev->unref();
|
||||
return true;
|
||||
|
Loading…
Reference in New Issue
Block a user