зеркало из https://github.com/mozilla/gecko-dev.git
Bug 501627. Take out unncessary and harmful surface size check. r=jrmuizelaar
This commit is contained in:
Родитель
6b06693b5b
Коммит
894f1656d4
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html reftest-zoom="2">
|
||||
<body style="overflow:hidden"
|
||||
background="data:image/gif;base64,R0lGODlhEgASALMAANbv9////8bp9LXi8aTc7pPV6////////////////////////////////////////ywAAAAAEgASAAAEIlCASaul8uo6tgfdpxHiWF7FaaVqe2YqfIYqfZItrrK7K0YAOw==">
|
||||
<div style="height: 2000px;"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,7 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html reftest-zoom="2">
|
||||
<body style="overflow:hidden"
|
||||
background="data:image/gif;base64,R0lGODlhEgASALMAANbv9////8bp9LXi8aTc7pPV6////////////////////////////////////////ywAAAAAEgASAAAEIlCASaul8uo6tgfdpxHiWF7FaaVqe2YqfIYqfZItrrK7K0YAOw==">
|
||||
<div style="height: 100000px;"></div>
|
||||
</body>
|
||||
</html>
|
|
@ -1300,6 +1300,7 @@ fails-if(MOZ_WIDGET_TOOLKIT!="cocoa") == 488692-1.html 488692-1-ref.html # needs
|
|||
== 501257-1a.html 501257-1-ref.html
|
||||
== 501257-1b.html 501257-1-ref.html
|
||||
== 501257-1.xhtml 501257-1-ref.xhtml
|
||||
== 501627-1.html 501627-1-ref.html
|
||||
== 502288-1.html 502288-1-ref.html
|
||||
== 502942-1.html 502942-1-ref.html
|
||||
== 502447-1.html 502447-1-ref.html
|
||||
|
|
|
@ -464,11 +464,6 @@ void imgFrame::Draw(gfxContext *aContext, gfxPattern::GraphicsFilter aFilter,
|
|||
// At this point, we've taken care of mSinglePixel images, images with
|
||||
// aPadding, and partially-decoded images.
|
||||
|
||||
if (!AllowedImageSize(fill.size.width + 1, fill.size.height + 1)) {
|
||||
NS_WARNING("Destination area too large, bailing out");
|
||||
return;
|
||||
}
|
||||
|
||||
// Compute device-space-to-image-space transform. We need to sanity-
|
||||
// check it to work around a pixman bug :-(
|
||||
// XXX should we only do this for certain surface types?
|
||||
|
|
Загрузка…
Ссылка в новой задаче