Changeset 66977 in webkit


Ignore:
Timestamp:
Sep 8, 2010 6:27:44 AM (14 years ago)
Author:
commit-queue@webkit.org
Message:

2010-09-08 Gyuyoung Kim <gyuyoung.kim@samsung.com>

Reviewed by Dirk Schulze.

[WML] Add create functions to WML.
https://bugs.webkit.org/show_bug.cgi?id=44950

There are missing definitions of create function in WML area.
So, there are build breaks when enabling WML. The create functions and the construction
are added. In addition, a style error and duplicated adoptRef usage are fixed.

  • wml/WMLDocument.h: (WebCore::WMLDocument::create):
  • wml/WMLFormControlElement.h:
  • wml/WMLIntrinsicEvent.cpp: (WebCore::WMLIntrinsicEvent::WMLIntrinsicEvent):
  • wml/WMLIntrinsicEvent.h:
Location:
trunk/WebCore
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r66975 r66977  
     12010-09-08  Gyuyoung Kim  <gyuyoung.kim@samsung.com>
     2
     3        Reviewed by Dirk Schulze.
     4
     5        [WML] Add create functions to WML.
     6        https://bugs.webkit.org/show_bug.cgi?id=44950
     7
     8        There are missing definitions of create function in WML area.
     9        So, there are build breaks when enabling WML. The create functions and the construction
     10        are added. In addition, a style error and duplicated adoptRef usage are fixed.
     11
     12        * wml/WMLDocument.h:
     13        (WebCore::WMLDocument::create):
     14        * wml/WMLFormControlElement.h:
     15        * wml/WMLIntrinsicEvent.cpp:
     16        (WebCore::WMLIntrinsicEvent::WMLIntrinsicEvent):
     17        * wml/WMLIntrinsicEvent.h:
     18
    1192010-09-08  Nico Weber  <thakis@chromium.org>
    220
  • trunk/WebCore/wml/WMLDocument.h

    r66498 r66977  
    3535    static PassRefPtr<WMLDocument> create(Frame* frame, const KURL& url)
    3636    {
    37         return adoptRef(adoptRef(new WMLDocument(frame, url))));
     37        return adoptRef(new WMLDocument(frame, url));
    3838    }
    3939
  • trunk/WebCore/wml/WMLFormControlElement.h

    r48106 r66977  
    2929class WMLFormControlElement : public WMLElement {
    3030public:
    31     WMLFormControlElement(const QualifiedName&, Document*);
     31    static PassRefPtr<WMLFormControlElement> create(const QualifiedName&, Document*);
     32
     33
    3234    virtual ~WMLFormControlElement();
    3335
     
    4547    virtual void recalcStyle(StyleChange);
    4648
     49protected:
     50    WMLFormControlElement(const QualifiedName&, Document*);
     51
    4752private:
    4853    bool m_valueMatchesRenderer;
  • trunk/WebCore/wml/WMLIntrinsicEvent.cpp

    r66498 r66977  
    4444}
    4545
    46 PassRefPtr<WMLIntrinsicEvent> WMLIntrinsicEvent::create(const QualifiedName& tagName, Document* document)
    47 {
    48     return adoptRef(new WMLIntrinsicEvent(tagName, document));
    49 }
    50 
    5146WMLIntrinsicEvent::WMLIntrinsicEvent(WMLTaskElement* taskElement)
    5247    : m_taskElement(taskElement)
  • trunk/WebCore/wml/WMLIntrinsicEvent.h

    r39432 r66977  
    2323
    2424#if ENABLE(WML)
     25#include "WMLTaskElement.h"
     26
    2527#include <wtf/PassRefPtr.h>
    2628#include <wtf/RefCounted.h>
    2729#include <wtf/RefPtr.h>
    28 
    29 #include "WMLTaskElement.h"
    3030
    3131namespace WebCore {
Note: See TracChangeset for help on using the changeset viewer.