diff options
Diffstat (limited to 'WebCore/html/HTMLDataListElement.cpp')
-rw-r--r-- | WebCore/html/HTMLDataListElement.cpp | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/WebCore/html/HTMLDataListElement.cpp b/WebCore/html/HTMLDataListElement.cpp index a6ca525..a9a60a1 100644 --- a/WebCore/html/HTMLDataListElement.cpp +++ b/WebCore/html/HTMLDataListElement.cpp @@ -1,5 +1,6 @@ /* - * Copyright (c) 2009, Google Inc. All rights reserved. + * Copyright (C) 2009 Google Inc. All rights reserved. + * Copyright (C) 2010 Apple Inc. All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions are @@ -36,13 +37,14 @@ namespace WebCore { -HTMLDataListElement::HTMLDataListElement(const QualifiedName& tagName, Document *doc) - : HTMLElement(tagName, doc) +inline HTMLDataListElement::HTMLDataListElement(const QualifiedName& tagName, Document* document) + : HTMLElement(tagName, document) { } -HTMLDataListElement::~HTMLDataListElement() +PassRefPtr<HTMLDataListElement> HTMLDataListElement::create(const QualifiedName& tagName, Document* document) { + return new HTMLDataListElement(tagName, document); } bool HTMLDataListElement::checkDTD(const Node* newChild) |