зеркало из https://github.com/mozilla/pjs.git
Enabling async reflow after the document has loaded.
This commit is contained in:
Родитель
14d480a8f6
Коммит
7065652faa
|
@ -801,7 +801,7 @@ PresShell::Init(nsIDocument* aDocument,
|
|||
// First, set the defaults
|
||||
gMaxRCProcessingTime = NS_MAX_REFLOW_TIME;
|
||||
gDoAsyncReflow = PR_FALSE;
|
||||
gDoAsyncReflowAfterDocLoad = PR_FALSE;
|
||||
gDoAsyncReflowAfterDocLoad = PR_TRUE;
|
||||
|
||||
// Get the prefs service
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefServiceCID, &result);
|
||||
|
|
|
@ -801,7 +801,7 @@ PresShell::Init(nsIDocument* aDocument,
|
|||
// First, set the defaults
|
||||
gMaxRCProcessingTime = NS_MAX_REFLOW_TIME;
|
||||
gDoAsyncReflow = PR_FALSE;
|
||||
gDoAsyncReflowAfterDocLoad = PR_FALSE;
|
||||
gDoAsyncReflowAfterDocLoad = PR_TRUE;
|
||||
|
||||
// Get the prefs service
|
||||
NS_WITH_SERVICE(nsIPref, prefs, kPrefServiceCID, &result);
|
||||
|
|
Загрузка…
Ссылка в новой задаче