diff options
Diffstat (limited to 'WebCore/html/HTMLDataGridColElement.cpp')
-rw-r--r-- | WebCore/html/HTMLDataGridColElement.cpp | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/WebCore/html/HTMLDataGridColElement.cpp b/WebCore/html/HTMLDataGridColElement.cpp index 7f02aa5..be2b7f2 100644 --- a/WebCore/html/HTMLDataGridColElement.cpp +++ b/WebCore/html/HTMLDataGridColElement.cpp @@ -1,5 +1,5 @@ /* - * Copyright (C) 2009 Apple Inc. All rights reserved. + * Copyright (C) 2009, 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 @@ -38,12 +38,17 @@ namespace WebCore { using namespace HTMLNames; -HTMLDataGridColElement::HTMLDataGridColElement(const QualifiedName& name, Document* doc) - : HTMLElement(name, doc) +inline HTMLDataGridColElement::HTMLDataGridColElement(const QualifiedName& name, Document* document) + : HTMLElement(name, document) , m_dataGrid(0) { } +PassRefPtr<HTMLDataGridColElement> HTMLDataGridColElement::create(const QualifiedName& name, Document* document) +{ + return new HTMLDataGridColElement(name, document); +} + HTMLDataGridElement* HTMLDataGridColElement::findDataGridAncestor() const { if (parent() && parent()->hasTagName(datagridTag)) |