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

Unified Diff: Source/core/dom/StyleSheetCandidate.cpp

Issue 703193004: XSLT-in-PrivateScript (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 1 month 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: Source/core/dom/StyleSheetCandidate.cpp
diff --git a/Source/core/dom/StyleSheetCandidate.cpp b/Source/core/dom/StyleSheetCandidate.cpp
index fc398a4e1d3ec1c3fb1d2f44575b4d09188c5446..bd41ef65be26736463e1491a29227ccc7e0a16a1 100644
--- a/Source/core/dom/StyleSheetCandidate.cpp
+++ b/Source/core/dom/StyleSheetCandidate.cpp
@@ -45,11 +45,6 @@ AtomicString StyleSheetCandidate::title() const
return isElement() ? toElement(node()).fastGetAttribute(titleAttr) : nullAtom;
}
-bool StyleSheetCandidate::isXSL() const
-{
- return !node().document().isHTMLDocument() && m_type == Pi && toProcessingInstruction(node()).isXSL();
-}
-
bool StyleSheetCandidate::isImport() const
{
return m_type == HTMLLink && toHTMLLinkElement(node()).isImport();

Powered by Google App Engine
This is Rietveld 408576698