зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1458556: Upgrade an assertion to try get a crash earlier and (hopefully) a reproducible test-case. r=xidorn
MozReview-Commit-ID: 2UT7M2KhHRf
This commit is contained in:
Родитель
f2220847b5
Коммит
f3ce6d98c2
|
@ -2592,7 +2592,8 @@ RestyleManager::ProcessPostTraversal(
|
|||
nsIFrame* styleFrame = nsLayoutUtils::GetStyleFrame(aElement);
|
||||
nsIFrame* primaryFrame = aElement->GetPrimaryFrame();
|
||||
|
||||
MOZ_ASSERT(aElement->HasServoData(), "How in the world?");
|
||||
MOZ_DIAGNOSTIC_ASSERT(aElement->HasServoData(),
|
||||
"Element without Servo data on a post-traversal? How?");
|
||||
|
||||
// NOTE(emilio): This is needed because for table frames the bit is set on the
|
||||
// table wrapper (which is the primary frame), not on the table itself.
|
||||
|
|
Загрузка…
Ссылка в новой задаче