зеркало из https://github.com/mozilla/gecko-dev.git
Removed debug statements
This commit is contained in:
Родитель
c594ed5fe7
Коммит
3dae4d6469
|
@ -102,62 +102,43 @@ nsRenderingContextUnix :: nsRenderingContextUnix()
|
|||
|
||||
nsRenderingContextUnix :: ~nsRenderingContextUnix()
|
||||
{
|
||||
printf("1 - \n");
|
||||
if (mRegion) {
|
||||
::XDestroyRegion(mRegion);
|
||||
mRegion = nsnull;
|
||||
}
|
||||
|
||||
printf("1 - \n");
|
||||
mTMatrix = nsnull;
|
||||
|
||||
// Destroy the State Machine
|
||||
if (nsnull != mStateCache)
|
||||
{
|
||||
printf("1 - \n");
|
||||
PRInt32 cnt = mStateCache->Count();
|
||||
|
||||
printf("4 - cnt %d\n", cnt);
|
||||
while (--cnt >= 0)
|
||||
{
|
||||
printf("5 - mStateCache %x\n", mStateCache);
|
||||
GraphicsState *state = (GraphicsState *)mStateCache->ElementAt(cnt);
|
||||
printf("a - %x\n", state);
|
||||
mStateCache->RemoveElementAt(cnt);
|
||||
printf("b - \n");
|
||||
|
||||
if (nsnull != state)
|
||||
delete state;
|
||||
}
|
||||
|
||||
printf("c - \n");
|
||||
delete mStateCache;
|
||||
printf("d - \n");
|
||||
mStateCache = nsnull;
|
||||
printf("e - \n");
|
||||
}
|
||||
|
||||
printf("f - \n");
|
||||
// Destroy the front buffer and it's GC if one was allocated for it
|
||||
if (nsnull != mFrontBuffer) {
|
||||
printf("g - \n");
|
||||
delete mFrontBuffer;
|
||||
}
|
||||
|
||||
printf("h - \n");
|
||||
|
||||
NS_IF_RELEASE(mFontMetrics);
|
||||
printf("i - \n");
|
||||
NS_IF_RELEASE(mContext);
|
||||
|
||||
printf("j - \n");
|
||||
if (nsnull != mDrawStringBuf) {
|
||||
printf("k - \n");
|
||||
PR_Free(mDrawStringBuf);
|
||||
printf("m - \n");
|
||||
}
|
||||
|
||||
printf("n - \n");
|
||||
}
|
||||
|
||||
NS_IMPL_QUERY_INTERFACE(nsRenderingContextUnix, kRenderingContextIID)
|
||||
|
|
Загрузка…
Ссылка в новой задаче