mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-15 06:20:41 +00:00
Bug 597676. If there's no rootPresContext, we should never detect DOM modification. Makes printing paint again. r=dbaron a=blocking2.0:beta7
This commit is contained in:
parent
5413a14eed
commit
580bc10d69
@ -1696,7 +1696,7 @@ FrameLayerBuilder::DrawThebesLayer(ThebesLayer* aLayer,
|
||||
PRBool
|
||||
FrameLayerBuilder::CheckDOMModified()
|
||||
{
|
||||
if (mRootPresContext &&
|
||||
if (!mRootPresContext ||
|
||||
mInitialDOMGeneration == mRootPresContext->GetDOMGeneration())
|
||||
return PR_FALSE;
|
||||
if (mDetectedDOMModification) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user