summaryrefslogtreecommitdiffstats
path: root/Source/WebCore/dom/ScriptableDocumentParser.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebCore/dom/ScriptableDocumentParser.h')
-rw-r--r--Source/WebCore/dom/ScriptableDocumentParser.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/Source/WebCore/dom/ScriptableDocumentParser.h b/Source/WebCore/dom/ScriptableDocumentParser.h
index d9bf85c..35c2767 100644
--- a/Source/WebCore/dom/ScriptableDocumentParser.h
+++ b/Source/WebCore/dom/ScriptableDocumentParser.h
@@ -31,8 +31,6 @@
namespace WebCore {
-class XSSAuditor;
-
class ScriptableDocumentParser : public DecodedDataDocumentParser {
public:
// Only used by Document::open for deciding if its safe to act on a
@@ -49,8 +47,8 @@ public:
virtual int lineNumber() const = 0;
virtual TextPosition0 textPosition() const = 0;
- XSSAuditor* xssAuditor() const { return m_xssAuditor; }
- void setXSSAuditor(XSSAuditor* auditor) { m_xssAuditor = auditor; }
+ void setWasCreatedByScript(bool wasCreatedByScript) { m_wasCreatedByScript = wasCreatedByScript; }
+ bool wasCreatedByScript() const { return m_wasCreatedByScript; }
protected:
explicit ScriptableDocumentParser(Document*);
@@ -58,8 +56,8 @@ protected:
private:
virtual ScriptableDocumentParser* asScriptableDocumentParser() { return this; }
- // The XSSAuditor associated with this document parser.
- XSSAuditor* m_xssAuditor;
+ // http://www.whatwg.org/specs/web-apps/current-work/#script-created-parser
+ bool m_wasCreatedByScript;
};
}