forked from mirrors/gecko-dev
Merge mozilla-central to autoland. a=merge CLOSED TREE
This commit is contained in:
commit
201999f094
1 changed files with 1 additions and 1 deletions
|
|
@ -11192,7 +11192,7 @@ void Document::SetReadyStateInternal(ReadyState rs,
|
||||||
// At the time of loading start, we don't have timing object, record time.
|
// At the time of loading start, we don't have timing object, record time.
|
||||||
|
|
||||||
if (READYSTATE_INTERACTIVE == rs) {
|
if (READYSTATE_INTERACTIVE == rs) {
|
||||||
if (nsContentUtils::IsSystemPrincipal(NodePrincipal())) {
|
if (!mXULPersist && nsContentUtils::IsSystemPrincipal(NodePrincipal())) {
|
||||||
mXULPersist = new XULPersist(this);
|
mXULPersist = new XULPersist(this);
|
||||||
mXULPersist->Init();
|
mXULPersist->Init();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue