Fix the !ENABLE(TEMPLATE_ELEMENT) build after r189945
https://bugs.webkit.org/show_bug.cgi?id=149400

Reviewed by Darin Adler.

* xml/parser/XMLDocumentParserLibxml2.cpp:
(WebCore::XMLDocumentParser::startElementNs):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@190068 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/ChangeLog b/Source/WebCore/ChangeLog
index c78d221..76d061a 100644
--- a/Source/WebCore/ChangeLog
+++ b/Source/WebCore/ChangeLog
@@ -1,3 +1,13 @@
+2015-09-21  Csaba Osztrogonác  <ossy@webkit.org>
+
+        Fix the !ENABLE(TEMPLATE_ELEMENT) build after r189945
+        https://bugs.webkit.org/show_bug.cgi?id=149400
+
+        Reviewed by Darin Adler.
+
+        * xml/parser/XMLDocumentParserLibxml2.cpp:
+        (WebCore::XMLDocumentParser::startElementNs):
+
 2015-09-21  Chris Dumez  <cdumez@apple.com>
 
         Range.cloneContents() / extractContents should throw a HierarchyRequestError when encountering a doctype
diff --git a/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp b/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
index a9fe049..da61b94 100644
--- a/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
+++ b/Source/WebCore/xml/parser/XMLDocumentParserLibxml2.cpp
@@ -853,7 +853,7 @@
     else
         pushCurrentNode(newElement.ptr());
 #else
-    pushCurrentNode(newElement.get());
+    pushCurrentNode(newElement.ptr());
 #endif
 
     if (is<HTMLHtmlElement>(newElement))