Modernize the HTMLElement factory
https://bugs.webkit.org/show_bug.cgi?id=140063

Reviewed by Darin Adler.

Make the HTMLElement (and derived classes) create functions 
and HTMLElementFactory return Refs rather than RefPtr/PassRefPtr.

* Files elided *


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@177996 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/Source/WebCore/html/HTMLPreElement.h b/Source/WebCore/html/HTMLPreElement.h
index cad9bfa..45880f5 100644
--- a/Source/WebCore/html/HTMLPreElement.h
+++ b/Source/WebCore/html/HTMLPreElement.h
@@ -29,7 +29,7 @@
 
 class HTMLPreElement final : public HTMLElement {
 public:
-    static RefPtr<HTMLPreElement> create(const QualifiedName&, Document&);
+    static Ref<HTMLPreElement> create(const QualifiedName&, Document&);
 
 private:
     HTMLPreElement(const QualifiedName&, Document&);