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

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

Issue 365873002: Implement a part of ProcessingInstruction by using PrivateScript (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Use PrivateScript to invoke XSLTransform Created 6 years, 4 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
« Source/core/dom/Document.idl ('K') | « Source/core/dom/StyleSheetCandidate.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/StyleSheetCandidate.cpp
diff --git a/Source/core/dom/StyleSheetCandidate.cpp b/Source/core/dom/StyleSheetCandidate.cpp
index 304d851b8e4ff6ee5a6e519362bc36702a62b12f..bc0a468f122cd68d399d776b6cfedd7b8b88c895 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();
« Source/core/dom/Document.idl ('K') | « Source/core/dom/StyleSheetCandidate.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698