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

Unified Diff: Source/core/xml/XSLTProcessor.h

Issue 292503006: Oilpan: add [WillBeGarbageCollected] for Node. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased + use transition types in XSLTProcessor Created 6 years, 7 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: Source/core/xml/XSLTProcessor.h
diff --git a/Source/core/xml/XSLTProcessor.h b/Source/core/xml/XSLTProcessor.h
index 76c2734af23f7b0325724cd9329fd353845f3d2c..e9e627e784b5339bd784c9cb8de702a7ff92dc23 100644
--- a/Source/core/xml/XSLTProcessor.h
+++ b/Source/core/xml/XSLTProcessor.h
@@ -50,16 +50,16 @@ public:
void setXSLStyleSheet(PassRefPtrWillBeRawPtr<XSLStyleSheet> styleSheet) { m_stylesheet = styleSheet; }
bool transformToString(Node* source, String& resultMIMEType, String& resultString, String& resultEncoding);
- PassRefPtr<Document> createDocumentFromSource(const String& source, const String& sourceEncoding, const String& sourceMIMEType, Node* sourceNode, LocalFrame* frame);
+ PassRefPtrWillBeRawPtr<Document> createDocumentFromSource(const String& source, const String& sourceEncoding, const String& sourceMIMEType, Node* sourceNode, LocalFrame*);
// DOM methods
- void importStylesheet(PassRefPtr<Node> style)
+ void importStylesheet(PassRefPtrWillBeRawPtr<Node> style)
{
if (style)
m_stylesheetRootNode = style;
}
PassRefPtrWillBeRawPtr<DocumentFragment> transformToFragment(Node* source, Document* ouputDoc);
- PassRefPtr<Document> transformToDocument(Node* source);
+ PassRefPtrWillBeRawPtr<Document> transformToDocument(Node* source);
void setParameter(const String& namespaceURI, const String& localName, const String& value);
String getParameter(const String& namespaceURI, const String& localName) const;
@@ -85,7 +85,7 @@ private:
}
RefPtrWillBeMember<XSLStyleSheet> m_stylesheet;
- RefPtr<Node> m_stylesheetRootNode;
+ RefPtrWillBeMember<Node> m_stylesheetRootNode;
ParameterMap m_parameters;
};

Powered by Google App Engine
This is Rietveld 408576698