ported mozilla changes:

bug1143506, bug1143509, bug1144899, bug1145560, bug1162350, bug1189593, bug1124084
This commit is contained in:
2019-04-18 23:35:12 +08:00
parent 6a3c759b17
commit ea571e4567
8 changed files with 54 additions and 37 deletions
+1 -1
View File
@@ -257,7 +257,7 @@ public:
// Try for a perfect match first.
nsRefPtr<CachedSurface> surface;
mSurfaces.Get(aSurfaceKey, getter_AddRefs(surface));
if (surface) {
if (surface && surface->IsDecoded()) {
return surface.forget();
}