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

Unified Diff: third_party/WebKit/Source/core/dom/StyleEngine.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/StyleEngine.cpp
diff --git a/third_party/WebKit/Source/core/dom/StyleEngine.cpp b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
index 11b0c7645a06a96d0478b57a1b440500e9764f5c..4c2df5d3ea67e43e938fd15ac8049b10874e0b05 100644
--- a/third_party/WebKit/Source/core/dom/StyleEngine.cpp
+++ b/third_party/WebKit/Source/core/dom/StyleEngine.cpp
@@ -198,7 +198,7 @@ void StyleEngine::modifiedStyleSheet(StyleSheet* sheet)
markTreeScopeDirty(treeScope);
}
-void StyleEngine::addStyleSheetCandidateNode(Node* node, bool createdByParser)
+void StyleEngine::addStyleSheetCandidateNode(Node* node)
{
if (!node->inDocument() || document().isDetached())
return;
@@ -208,7 +208,7 @@ void StyleEngine::addStyleSheetCandidateNode(Node* node, bool createdByParser)
ASSERT(!isXSLStyleSheet(*node));
TreeScopeStyleSheetCollection* collection = ensureStyleSheetCollectionFor(treeScope);
ASSERT(collection);
- collection->addStyleSheetCandidateNode(node, createdByParser);
+ collection->addStyleSheetCandidateNode(node);
markTreeScopeDirty(treeScope);
if (treeScope != m_document)
« no previous file with comments | « third_party/WebKit/Source/core/dom/StyleEngine.h ('k') | third_party/WebKit/Source/core/dom/TreeScopeStyleSheetCollection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698