зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1125391 - Re-enable bug 931668 optimizations. r=dbaron
This commit is contained in:
Родитель
372a8a591d
Коммит
c11c432b20
|
@ -3025,7 +3025,7 @@ ElementRestyler::RestyleSelf(nsIFrame* aSelf,
|
|||
|
||||
RestyleResult result;
|
||||
|
||||
if (aRestyleHint || true /* XXX bug 1092363 */) {
|
||||
if (aRestyleHint) {
|
||||
result = eRestyleResult_Continue;
|
||||
} else {
|
||||
result = ComputeRestyleResultFromFrame(aSelf);
|
||||
|
@ -3316,9 +3316,7 @@ ElementRestyler::RestyleSelf(nsIFrame* aSelf,
|
|||
// previous continuation, so newContext == oldContext.
|
||||
|
||||
if (result != eRestyleResult_Stop) {
|
||||
if (true) {
|
||||
// XXX bug 1092363
|
||||
} else if (copyFromContinuation) {
|
||||
if (copyFromContinuation) {
|
||||
LOG_RESTYLE("not swapping style structs, since we copied from a "
|
||||
"continuation");
|
||||
} else if (oldContext->IsShared() && newContext->IsShared()) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче