Index: third_party/WebKit/Source/web/WebNode.cpp |
diff --git a/third_party/WebKit/Source/web/WebNode.cpp b/third_party/WebKit/Source/web/WebNode.cpp |
index 25e5e5c944eb65b9ec4f710ad0c9102763c3c0c3..735ba21fc2abee78623030f2f5e6625279fc289c 100644 |
--- a/third_party/WebKit/Source/web/WebNode.cpp |
+++ b/third_party/WebKit/Source/web/WebNode.cpp |
@@ -239,7 +239,7 @@ WebElement WebNode::querySelector(const WebString& selector, WebExceptionCode& e |
if (!m_private->isContainerNode()) |
return WebElement(); |
TrackExceptionState exceptionState; |
- WebElement element = toContainerNode(m_private.get())->querySelector(selector, exceptionState); |
+ WebElement element = toContainerNode(m_private.get())->querySelector(selector, exceptionState).get(); |
ec = exceptionState.code(); |
return element; |
} |
@@ -305,18 +305,18 @@ WebAXObject WebNode::accessibilityObject() |
return cache ? WebAXObject(cache->get(node)) : WebAXObject(); |
} |
-WebNode::WebNode(const RawPtr<Node>& node) |
+WebNode::WebNode(Node* node) |
: m_private(node) |
{ |
} |
-WebNode& WebNode::operator=(const RawPtr<Node>& node) |
+WebNode& WebNode::operator=(Node* node) |
{ |
m_private = node; |
return *this; |
} |
-WebNode::operator RawPtr<Node>() const |
+WebNode::operator Node*() const |
{ |
return m_private.get(); |
} |