From 2e31a7c4e6a0940ca82437414a1093354f59d3ad Mon Sep 17 00:00:00 2001 From: Robert O'Callahan Date: Sun, 20 Feb 2011 19:28:00 -0800 Subject: [PATCH] Bug 634232. Call WillEndTransaction/DidEndTransaction notifications for FrameLayerBuilder's temporary layer managers. r=tnikkel a=hardblocker --- layout/base/FrameLayerBuilder.cpp | 2 ++ layout/reftests/bugs/634232-1-ref.html | 30 +++++++++++++++++++++++++ layout/reftests/bugs/634232-1.html | 31 ++++++++++++++++++++++++++ layout/reftests/bugs/reftest.list | 1 + 4 files changed, 64 insertions(+) create mode 100644 layout/reftests/bugs/634232-1-ref.html create mode 100644 layout/reftests/bugs/634232-1.html diff --git a/layout/base/FrameLayerBuilder.cpp b/layout/base/FrameLayerBuilder.cpp index f18246de4fb..36e5ad7dee6 100644 --- a/layout/base/FrameLayerBuilder.cpp +++ b/layout/base/FrameLayerBuilder.cpp @@ -1191,7 +1191,9 @@ PaintInactiveLayer(nsDisplayListBuilder* aBuilder, SetVisibleRectForLayer(layer, itemVisibleRect); tempManager->SetRoot(layer); + aBuilder->LayerBuilder()->WillEndTransaction(tempManager); tempManager->EndTransaction(FrameLayerBuilder::DrawThebesLayer, aBuilder); + aBuilder->LayerBuilder()->DidEndTransaction(tempManager); } /* diff --git a/layout/reftests/bugs/634232-1-ref.html b/layout/reftests/bugs/634232-1-ref.html new file mode 100644 index 00000000000..b3acc12cf48 --- /dev/null +++ b/layout/reftests/bugs/634232-1-ref.html @@ -0,0 +1,30 @@ + + + + + + +
+
+ + diff --git a/layout/reftests/bugs/634232-1.html b/layout/reftests/bugs/634232-1.html new file mode 100644 index 00000000000..3e5f4fb4c75 --- /dev/null +++ b/layout/reftests/bugs/634232-1.html @@ -0,0 +1,31 @@ + + + + + + +
+
+ + diff --git a/layout/reftests/bugs/reftest.list b/layout/reftests/bugs/reftest.list index 7a1b51d172b..b13724abfa7 100644 --- a/layout/reftests/bugs/reftest.list +++ b/layout/reftests/bugs/reftest.list @@ -1613,4 +1613,5 @@ random-if(winWidget) HTTP(..) == 621918-2.svg 621918-2-ref.svg # same 1px issue == 631352-1.html 631352-1-ref.html fails-if(winWidget) == 632781-verybig.html 632781-ref.html # large canvas elements are not drawn on Windows, see bug 633936 == 632781-normalsize.html 632781-ref.html +== 634232-1.html 634232-1-ref.html == 635302-1.html 635302-1-ref.html