From 758befcfb43d46c4e6f759e184fdb20a88a793bc Mon Sep 17 00:00:00 2001 From: Neil Rashbrook Date: Sun, 7 Aug 2011 14:04:47 +0100 Subject: [PATCH] Bug 675191 Don't write a cached dynamic overlay back to cache again r=Enn --- content/xul/document/src/nsXULDocument.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/content/xul/document/src/nsXULDocument.cpp b/content/xul/document/src/nsXULDocument.cpp index e3fde8037e7..eadcd29d1d6 100644 --- a/content/xul/document/src/nsXULDocument.cpp +++ b/content/xul/document/src/nsXULDocument.cpp @@ -2726,9 +2726,6 @@ nsXULDocument::LoadOverlayInternal(nsIURI* aURI, PRBool aIsDynamic, // The .xul file must be parsed from disk. PRBool useXULCache = nsXULPrototypeCache::GetInstance()->IsEnabled(); - if (aIsDynamic) - mIsWritingFastLoad = useXULCache; - if (useXULCache && mCurrentPrototype) { PRBool loaded; rv = mCurrentPrototype->AwaitLoadDone(this, &loaded);