Backout 5878a9a7c540 for breaking tests
authorJoe Drew <joe@drew.ca>
Fri, 03 May 2013 16:41:21 -0400
changeset 141735 153993320a45becad6933069e904bdb72c83175f
parent 141734 99b086e10c8d0c33a62e0fdf74050c06d65204f6
child 141736 1a0f522cf110b304ea4fc2480f01228a606aeedd
push id2579
push userakeybl@mozilla.com
push dateMon, 24 Jun 2013 18:52:47 +0000
treeherdermozilla-beta@b69b7de8a05a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone23.0a1
backs out5878a9a7c54083345f54051069c2ed7a1c336230
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Backout 5878a9a7c540 for breaking tests
layout/base/nsLayoutUtils.cpp
--- a/layout/base/nsLayoutUtils.cpp
+++ b/layout/base/nsLayoutUtils.cpp
@@ -4699,20 +4699,18 @@ nsLayoutUtils::SurfaceFromElement(HTMLVi
   }
 
   // If it doesn't have a principal, just bail
   nsCOMPtr<nsIPrincipal> principal = aElement->GetCurrentPrincipal();
   if (!principal)
     return result;
 
   ImageContainer *container = aElement->GetImageContainer();
-  if (!container) {
-    result.mIsStillLoading = true;
+  if (!container)
     return result;
-  }
 
   gfxIntSize size;
   nsRefPtr<gfxASurface> surf = container->GetCurrentAsSurface(&size);
   if (!surf)
     return result;
 
   if (wantImageSurface && surf->GetType() != gfxASurface::SurfaceTypeImage) {
     nsRefPtr<gfxImageSurface> imgSurf =