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

Unified Diff: Source/core/dom/Document.h

Issue 311053003: Oilpan: update remaining Document uses of RefPtr<Node>s. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 6 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
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index fbfe1ae53427681451529ef04b1af55f856bc0d1..985f673bbe2a3954b64c19408e2f5dd94df9f42b 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -643,9 +643,6 @@ public:
void setAutofocusElement(Element*);
Element* autofocusElement() const { return m_autofocusElement.get(); }
- void setHoverNode(PassRefPtr<Node>);
- Node* hoverNode() const { return m_hoverNode.get(); }
-
void setActiveHoverElement(PassRefPtrWillBeRawPtr<Element>);
Element* activeHoverElement() const { return m_activeHoverElement.get(); }
@@ -796,7 +793,7 @@ public:
static bool hasValidNamespaceForAttributes(const QualifiedName&);
HTMLElement* body() const;
- void setBody(PassRefPtr<HTMLElement>, ExceptionState&);
+ void setBody(PassRefPtrWillBeRawPtr<HTMLElement>, ExceptionState&);
HTMLHeadElement* head() const;
@@ -1092,7 +1089,7 @@ protected:
virtual PassRefPtrWillBeRawPtr<Document> cloneDocumentWithoutChildren();
- bool importContainerNodeChildren(ContainerNode* oldContainerNode, PassRefPtr<ContainerNode> newContainerNode, ExceptionState&);
+ bool importContainerNodeChildren(ContainerNode* oldContainerNode, PassRefPtrWillBeRawPtr<ContainerNode> newContainerNode, ExceptionState&);
void lockCompatibilityMode() { m_compatibilityModeLocked = true; }
private:
@@ -1186,6 +1183,9 @@ private:
bool haveStylesheetsLoaded() const;
+ void setHoverNode(PassRefPtrWillBeRawPtr<Node>);
+ Node* hoverNode() const { return m_hoverNode.get(); }
+
typedef HashSet<EventFactoryBase*> EventFactorySet;
static EventFactorySet& eventFactories();
« no previous file with comments | « no previous file | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698