Changeset 140960 in webkit


Ignore:
Timestamp:
Jan 28, 2013 2:25:32 AM (11 years ago)
Author:
kihong.kwon@samsung.com
Message:

Replace the type of Proximity's supplementName for char*
https://bugs.webkit.org/show_bug.cgi?id=108049

Reviewed by Benjamin Poulain.

There are some changes for supplementName by Bug 107535.
It makes build break when PROXIMITY_EVENT feature is enabled.
Therefore ProximityController need to change the type of supplementName for char* also.

No new tests. Functionality is not changed.

  • Modules/proximity/DeviceProximityController.cpp:

(WebCore::DeviceProximityController::supplementName):

  • Modules/proximity/DeviceProximityController.h:

(DeviceProximityController):

Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r140955 r140960  
     12013-01-28  Kihong Kwon  <kihong.kwon@samsung.com>
     2
     3        Replace the type of Proximity's supplementName for char*
     4        https://bugs.webkit.org/show_bug.cgi?id=108049
     5
     6        Reviewed by Benjamin Poulain.
     7
     8        There are some changes for supplementName by Bug 107535.
     9        It makes build break when PROXIMITY_EVENT feature is enabled.
     10        Therefore ProximityController need to change the type of supplementName for char* also.
     11
     12        No new tests. Functionality is not changed.
     13
     14        * Modules/proximity/DeviceProximityController.cpp:
     15        (WebCore::DeviceProximityController::supplementName):
     16        * Modules/proximity/DeviceProximityController.h:
     17        (DeviceProximityController):
     18
    1192013-01-28  Keishi Hattori  <keishi@webkit.org>
    220
  • trunk/Source/WebCore/Modules/proximity/DeviceProximityController.cpp

    r139050 r140960  
    6666}
    6767
    68 const AtomicString& DeviceProximityController::supplementName()
     68const char* DeviceProximityController::supplementName()
    6969{
    70     DEFINE_STATIC_LOCAL(AtomicString, name, ("DeviceProximityController"));
    71     return name;
     70    return "DeviceProximityController";
    7271}
    7372
  • trunk/Source/WebCore/Modules/proximity/DeviceProximityController.h

    r139050 r140960  
    4747    virtual PassRefPtr<Event> getLastEvent();
    4848
    49     static const AtomicString& supplementName();
     49    static const char* supplementName();
    5050    static DeviceProximityController* from(Page*);
    5151    static bool isActiveAt(Page*);
Note: See TracChangeset for help on using the changeset viewer.