[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
abarth at webkit.org
abarth at webkit.org
Wed Dec 22 13:10:52 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 2ee80f1e9a25c1afc0892c8070d1e9ce7ede42a4
Author: abarth at webkit.org <abarth at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Wed Sep 8 11:01:26 2010 +0000
2010-09-08 Adam Barth <abarth at webkit.org>
Reviewed by Maciej Stachowiak.
Remove unused member variable from DecodedDocumentParser
https://bugs.webkit.org/show_bug.cgi?id=45379
This member variable isn't used because of the recent split of
TextDocumentParser and TextViewSourceParser.
* dom/DecodedDataDocumentParser.cpp:
(WebCore::DecodedDataDocumentParser::DecodedDataDocumentParser):
* dom/DecodedDataDocumentParser.h:
* dom/ScriptableDocumentParser.cpp:
(WebCore::ScriptableDocumentParser::ScriptableDocumentParser):
* dom/ScriptableDocumentParser.h:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@66967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index a00981c..6a2c5f8 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,20 @@
+2010-09-08 Adam Barth <abarth at webkit.org>
+
+ Reviewed by Maciej Stachowiak.
+
+ Remove unused member variable from DecodedDocumentParser
+ https://bugs.webkit.org/show_bug.cgi?id=45379
+
+ This member variable isn't used because of the recent split of
+ TextDocumentParser and TextViewSourceParser.
+
+ * dom/DecodedDataDocumentParser.cpp:
+ (WebCore::DecodedDataDocumentParser::DecodedDataDocumentParser):
+ * dom/DecodedDataDocumentParser.h:
+ * dom/ScriptableDocumentParser.cpp:
+ (WebCore::ScriptableDocumentParser::ScriptableDocumentParser):
+ * dom/ScriptableDocumentParser.h:
+
2010-09-08 Csaba Osztrogonác <ossy at webkit.org>
Reviewed by Andreas Kling.
diff --git a/WebCore/dom/DecodedDataDocumentParser.cpp b/WebCore/dom/DecodedDataDocumentParser.cpp
index 39bf8e4..975b1b5 100644
--- a/WebCore/dom/DecodedDataDocumentParser.cpp
+++ b/WebCore/dom/DecodedDataDocumentParser.cpp
@@ -32,9 +32,8 @@
namespace WebCore {
-DecodedDataDocumentParser::DecodedDataDocumentParser(Document* document, bool viewSourceMode)
+DecodedDataDocumentParser::DecodedDataDocumentParser(Document* document)
: DocumentParser(document)
- , m_inViewSourceMode(viewSourceMode)
{
}
diff --git a/WebCore/dom/DecodedDataDocumentParser.h b/WebCore/dom/DecodedDataDocumentParser.h
index f45bb68..40f3f19 100644
--- a/WebCore/dom/DecodedDataDocumentParser.h
+++ b/WebCore/dom/DecodedDataDocumentParser.h
@@ -36,11 +36,8 @@ public:
// XMLHttpRequest if the responseXML was well formed.
virtual bool wellFormed() const { return true; }
- bool inViewSourceMode() const { return m_inViewSourceMode; }
- void setInViewSourceMode(bool mode) { m_inViewSourceMode = mode; }
-
protected:
- DecodedDataDocumentParser(Document*, bool viewSourceMode = false);
+ explicit DecodedDataDocumentParser(Document*);
private:
// append is used by DocumentWriter::replaceDocument
@@ -48,8 +45,6 @@ private:
// appendBytes is used by DocumentWriter (the loader)
virtual void appendBytes(DocumentWriter*, const char* bytes, int length, bool flush);
-
- bool m_inViewSourceMode;
};
}
diff --git a/WebCore/dom/ScriptableDocumentParser.cpp b/WebCore/dom/ScriptableDocumentParser.cpp
index 43b3417..0712a15 100644
--- a/WebCore/dom/ScriptableDocumentParser.cpp
+++ b/WebCore/dom/ScriptableDocumentParser.cpp
@@ -28,8 +28,8 @@
namespace WebCore {
-ScriptableDocumentParser::ScriptableDocumentParser(Document* document, bool viewSourceMode)
- : DecodedDataDocumentParser(document, viewSourceMode)
+ScriptableDocumentParser::ScriptableDocumentParser(Document* document)
+ : DecodedDataDocumentParser(document)
, m_xssAuditor(0)
{
}
diff --git a/WebCore/dom/ScriptableDocumentParser.h b/WebCore/dom/ScriptableDocumentParser.h
index e2b3f09..8b16304 100644
--- a/WebCore/dom/ScriptableDocumentParser.h
+++ b/WebCore/dom/ScriptableDocumentParser.h
@@ -53,7 +53,7 @@ public:
void setXSSAuditor(XSSAuditor* auditor) { m_xssAuditor = auditor; }
protected:
- ScriptableDocumentParser(Document*, bool viewSourceMode = false);
+ explicit ScriptableDocumentParser(Document*);
private:
virtual ScriptableDocumentParser* asScriptableDocumentParser() { return this; }
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list