mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-15 22:35:43 +00:00
Backout 5878a9a7c540 for breaking tests
This commit is contained in:
parent
5768e25331
commit
950ccdcdff
@ -4704,10 +4704,8 @@ nsLayoutUtils::SurfaceFromElement(HTMLVideoElement* aElement,
|
||||
return result;
|
||||
|
||||
ImageContainer *container = aElement->GetImageContainer();
|
||||
if (!container) {
|
||||
result.mIsStillLoading = true;
|
||||
if (!container)
|
||||
return result;
|
||||
}
|
||||
|
||||
gfxIntSize size;
|
||||
nsRefPtr<gfxASurface> surf = container->GetCurrentAsSurface(&size);
|
||||
|
Loading…
Reference in New Issue
Block a user