| Index: Source/core/html/HTMLBDIElement.h
|
| diff --git a/Source/core/html/HTMLBDIElement.h b/Source/core/html/HTMLBDIElement.h
|
| index 852a8527ae8c273bbfa845207571d9480e5860ad..52db54e936990494173f9afad51b6e5e4f314117 100644
|
| --- a/Source/core/html/HTMLBDIElement.h
|
| +++ b/Source/core/html/HTMLBDIElement.h
|
| @@ -27,13 +27,10 @@ namespace WebCore {
|
|
|
| class HTMLBDIElement FINAL : public HTMLElement {
|
| public:
|
| - static PassRefPtrWillBeRawPtr<HTMLBDIElement> create(Document& document)
|
| - {
|
| - return adoptRefWillBeRefCountedGarbageCollected(new HTMLBDIElement(document));
|
| - }
|
| + DECLARE_NODE_FACTORY(HTMLBDIElement);
|
|
|
| private:
|
| - explicit HTMLBDIElement(Document& document)
|
| + inline explicit HTMLBDIElement(Document& document)
|
| : HTMLElement(HTMLNames::bdiTag, document)
|
| {
|
| // FIXME: Rename setSelfOrAncestorHasDirAutoAttribute to reflect the fact bdi also uses this flag.
|
| @@ -41,6 +38,8 @@ private:
|
| }
|
| };
|
|
|
| +DEFINE_NODE_FACTORY(HTMLBDIElement)
|
| +
|
| } // namespace WebCore
|
|
|
| #endif
|
|
|