Changeset 120068 in webkit


Ignore:
Timestamp:
Jun 12, 2012 6:45:34 AM (12 years ago)
Author:
mitz@apple.com
Message:

Tried to fix the notification-enabled build after r120044.

  • notifications/NotificationController.cpp:

(WebCore::NotificationController::NotificationController):
(WebCore::NotificationController::create):
(WebCore::provideNotification):

  • notifications/NotificationController.h:

(NotificationController):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r120066 r120068  
     12012-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
    1122012-06-12  Huang Dongsung  <luxtella@company100.net>
    213
  • trunk/Source/WebCore/notifications/NotificationController.cpp

    r120044 r120068  
    3434namespace WebCore {
    3535
    36 NotificationController::NotificationController(Page* page, NotificationClient* client)
     36NotificationController::NotificationController(NotificationClient* client)
    3737    : m_client(client)
    3838{
     
    4545}
    4646
    47 PassOwnPtr<NotificationController> NotificationController::create(Page* page, NotificationClient* client)
     47PassOwnPtr<NotificationController> NotificationController::create(NotificationClient* client)
    4848{
    49     return adoptPtr(new NotificationController(page, client));
     49    return adoptPtr(new NotificationController(client));
    5050}
    5151
     
    6565void provideNotification(Page* page, NotificationClient* client)
    6666{
    67     NotificationController::provideTo(page, NotificationController::supplementName(), NotificationController::create(page, client));
     67    NotificationController::provideTo(page, NotificationController::supplementName(), NotificationController::create(client));
    6868}
    6969
  • trunk/Source/WebCore/notifications/NotificationController.h

    r120044 r120068  
    4242    ~NotificationController();
    4343
    44     static PassOwnPtr<NotificationController> create(Page*, NotificationClient*);
     44    static PassOwnPtr<NotificationController> create(NotificationClient*);
    4545    static const AtomicString& supplementName();
    4646    static NotificationController* from(Page* page) { return static_cast<NotificationController*>(Supplement<Page>::from(page, supplementName())); }
     
    5050   
    5151private:
    52     NotificationController(Page*, NotificationClient*);
     52    NotificationController(NotificationClient*);
    5353
    5454    NotificationClient* m_client;
Note: See TracChangeset for help on using the changeset viewer.