mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-21 17:59:34 +00:00
Remove no longer needed null-check too. Still no bug.
This commit is contained in:
parent
be90c1955a
commit
b7760baaac
@ -1742,7 +1742,6 @@ nsChildView::GetThebesSurface()
|
|||||||
{
|
{
|
||||||
if (!mTempThebesSurface) {
|
if (!mTempThebesSurface) {
|
||||||
mTempThebesSurface = new gfxQuartzSurface(gfxSize(1, 1), gfxASurface::ImageFormatARGB32);
|
mTempThebesSurface = new gfxQuartzSurface(gfxSize(1, 1), gfxASurface::ImageFormatARGB32);
|
||||||
NS_ENSURE_TRUE(mTempThebesSurface.get(), nsnull); // OOM
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return mTempThebesSurface;
|
return mTempThebesSurface;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user