Changeset 120068 in webkit
- Timestamp:
- Jun 12, 2012 6:45:34 AM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r120066 r120068 1 2012-06-12 Dan Bernstein <mitz@apple.com> 2 3 Tried to fix the notification-enabled build after r120044. 4 5 * notifications/NotificationController.cpp: 6 (WebCore::NotificationController::NotificationController): 7 (WebCore::NotificationController::create): 8 (WebCore::provideNotification): 9 * notifications/NotificationController.h: 10 (NotificationController): 11 1 12 2012-06-12 Huang Dongsung <luxtella@company100.net> 2 13 -
trunk/Source/WebCore/notifications/NotificationController.cpp
r120044 r120068 34 34 namespace WebCore { 35 35 36 NotificationController::NotificationController( Page* page,NotificationClient* client)36 NotificationController::NotificationController(NotificationClient* client) 37 37 : m_client(client) 38 38 { … … 45 45 } 46 46 47 PassOwnPtr<NotificationController> NotificationController::create( Page* page,NotificationClient* client)47 PassOwnPtr<NotificationController> NotificationController::create(NotificationClient* client) 48 48 { 49 return adoptPtr(new NotificationController( page,client));49 return adoptPtr(new NotificationController(client)); 50 50 } 51 51 … … 65 65 void provideNotification(Page* page, NotificationClient* client) 66 66 { 67 NotificationController::provideTo(page, NotificationController::supplementName(), NotificationController::create( page,client));67 NotificationController::provideTo(page, NotificationController::supplementName(), NotificationController::create(client)); 68 68 } 69 69 -
trunk/Source/WebCore/notifications/NotificationController.h
r120044 r120068 42 42 ~NotificationController(); 43 43 44 static PassOwnPtr<NotificationController> create( Page*,NotificationClient*);44 static PassOwnPtr<NotificationController> create(NotificationClient*); 45 45 static const AtomicString& supplementName(); 46 46 static NotificationController* from(Page* page) { return static_cast<NotificationController*>(Supplement<Page>::from(page, supplementName())); } … … 50 50 51 51 private: 52 NotificationController( Page*,NotificationClient*);52 NotificationController(NotificationClient*); 53 53 54 54 NotificationClient* m_client;
Note: See TracChangeset
for help on using the changeset viewer.