mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 11:55:49 +00:00
Fix bogus assertion in nsLayoutUtils::SetDisplayPortMargins. (bug 1156409, r=botond, a=philor)
This commit is contained in:
parent
b6e78e87bc
commit
2509aee14f
@ -1069,7 +1069,7 @@ nsLayoutUtils::SetDisplayPortMargins(nsIContent* aContent,
|
||||
RepaintMode aRepaintMode)
|
||||
{
|
||||
MOZ_ASSERT(aContent);
|
||||
MOZ_ASSERT(aContent->GetCurrentDoc() == aPresShell->GetDocument());
|
||||
MOZ_ASSERT(aContent->GetComposedDoc() == aPresShell->GetDocument());
|
||||
|
||||
DisplayPortMarginsPropertyData* currentData =
|
||||
static_cast<DisplayPortMarginsPropertyData*>(aContent->GetProperty(nsGkAtoms::DisplayPortMargins));
|
||||
|
Loading…
Reference in New Issue
Block a user