Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(696)

Unified Diff: third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp

Issue 1754863002: Remove unused createdByParser flags and arguments. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Second try Created 4 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp
diff --git a/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp b/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp
index 8bd6fb770155873f94a373b484a3e538e2156955..bf2ab17e8ecd5fadad0c69f8af734a37c56ebbc5 100644
--- a/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp
+++ b/third_party/WebKit/Source/core/dom/ProcessingInstruction.cpp
@@ -42,7 +42,6 @@ inline ProcessingInstruction::ProcessingInstruction(Document& document, const St
, m_target(target)
, m_loading(false)
, m_alternate(false)
- , m_createdByParser(false)
, m_isCSS(false)
, m_isXSL(false)
, m_listenerForXSLT(nullptr)
@@ -267,7 +266,7 @@ Node::InsertionNotificationRequest ProcessingInstruction::insertedInto(Container
String charset;
bool isValid = checkStyleSheet(href, charset);
if (!DocumentXSLT::processingInstructionInsertedIntoDocument(document(), this))
- document().styleEngine().addStyleSheetCandidateNode(this, m_createdByParser);
+ document().styleEngine().addStyleSheetCandidateNode(this);
if (isValid)
process(href, charset);
return InsertionDone;
« no previous file with comments | « third_party/WebKit/Source/core/dom/ProcessingInstruction.h ('k') | third_party/WebKit/Source/core/dom/StyleElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698