Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
This patch does these things: 1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement and nsIScriptLoaderObserver in dom/script 2. it renames nsScriptElement to mozilla::dom::ScriptElement 3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
#include "nsXPCOM.h"
|
||||
#include "nsISupportsPrimitives.h"
|
||||
#include "nsXPIDLString.h"
|
||||
#include "nsScriptLoader.h"
|
||||
#include "nsEscape.h"
|
||||
#include "nsIParser.h"
|
||||
#include "nsIDTD.h"
|
||||
@@ -36,6 +35,7 @@
|
||||
#include "nsTreeSanitizer.h"
|
||||
#include "nsHtml5Module.h"
|
||||
#include "mozilla/dom/DocumentFragment.h"
|
||||
#include "mozilla/dom/ScriptLoader.h"
|
||||
#include "NullPrincipal.h"
|
||||
|
||||
#define XHTML_DIV_TAG "div xmlns=\"http://www.w3.org/1999/xhtml\""
|
||||
@@ -148,7 +148,7 @@ nsParserUtils::ParseFragment(const nsAString& aFragment,
|
||||
nsAutoScriptBlockerSuppressNodeRemoved autoBlocker;
|
||||
|
||||
// stop scripts
|
||||
RefPtr<nsScriptLoader> loader;
|
||||
RefPtr<ScriptLoader> loader;
|
||||
bool scripts_enabled = false;
|
||||
if (document) {
|
||||
loader = document->ScriptLoader();
|
||||
|
||||
Reference in New Issue
Block a user