Changeset 66977 in webkit
- Timestamp:
- Sep 8, 2010 6:27:44 AM (14 years ago)
- Location:
- trunk/WebCore
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r66975 r66977 1 2010-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 1 19 2010-09-08 Nico Weber <thakis@chromium.org> 2 20 -
trunk/WebCore/wml/WMLDocument.h
r66498 r66977 35 35 static PassRefPtr<WMLDocument> create(Frame* frame, const KURL& url) 36 36 { 37 return adoptRef( adoptRef(new WMLDocument(frame, url))));37 return adoptRef(new WMLDocument(frame, url)); 38 38 } 39 39 -
trunk/WebCore/wml/WMLFormControlElement.h
r48106 r66977 29 29 class WMLFormControlElement : public WMLElement { 30 30 public: 31 WMLFormControlElement(const QualifiedName&, Document*); 31 static PassRefPtr<WMLFormControlElement> create(const QualifiedName&, Document*); 32 33 32 34 virtual ~WMLFormControlElement(); 33 35 … … 45 47 virtual void recalcStyle(StyleChange); 46 48 49 protected: 50 WMLFormControlElement(const QualifiedName&, Document*); 51 47 52 private: 48 53 bool m_valueMatchesRenderer; -
trunk/WebCore/wml/WMLIntrinsicEvent.cpp
r66498 r66977 44 44 } 45 45 46 PassRefPtr<WMLIntrinsicEvent> WMLIntrinsicEvent::create(const QualifiedName& tagName, Document* document)47 {48 return adoptRef(new WMLIntrinsicEvent(tagName, document));49 }50 51 46 WMLIntrinsicEvent::WMLIntrinsicEvent(WMLTaskElement* taskElement) 52 47 : m_taskElement(taskElement) -
trunk/WebCore/wml/WMLIntrinsicEvent.h
r39432 r66977 23 23 24 24 #if ENABLE(WML) 25 #include "WMLTaskElement.h" 26 25 27 #include <wtf/PassRefPtr.h> 26 28 #include <wtf/RefCounted.h> 27 29 #include <wtf/RefPtr.h> 28 29 #include "WMLTaskElement.h"30 30 31 31 namespace WebCore {
Note: See TracChangeset
for help on using the changeset viewer.