Changeset 150138 in webkit


Ignore:
Timestamp:
May 15, 2013 12:37:58 PM (11 years ago)
Author:
Darin Adler
Message:

[Mac] Make Clipboard class no longer polymorphic by removing the last virtual functions
https://bugs.webkit.org/show_bug.cgi?id=116166

Reviewed by Anders Carlsson.

  • WebCore.exp.in: Add ~Clipboard since it's no longer a virtual function, but to the

non-iOS section, since iOS is still using the legacy version of Clipboard.

  • dom/Clipboard.h: Mark items non-virtual, too. It's not implemented on Mac yet.
Location:
trunk/Source/WebCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r150137 r150138  
     12013-05-15  Darin Adler  <darin@apple.com>
     2
     3        [Mac] Make Clipboard class no longer polymorphic by removing the last virtual functions
     4        https://bugs.webkit.org/show_bug.cgi?id=116166
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * WebCore.exp.in: Add ~Clipboard since it's no longer a virtual function, but to the
     9        non-iOS section, since iOS is still using the legacy version of Clipboard.
     10
     11        * dom/Clipboard.h: Mark items non-virtual, too. It's not implemented on Mac yet.
     12
    1132013-05-15  Dongseong Hwang  <dongseong.hwang@intel.com>
    214
  • trunk/Source/WebCore/WebCore.exp.in

    r150093 r150138  
    19021902__ZN7WebCore8IntPointC1ERK8_NSPoint
    19031903__ZN7WebCore8IntPointC1ERK7CGPoint
     1904__ZN7WebCore9ClipboardD1Ev
    19041905__ZN7WebCore9FloatRectC1ERK7_NSRect
    19051906__ZNK7WebCore10FloatPointcv8_NSPointEv
  • trunk/Source/WebCore/dom/Clipboard.h

    r150127 r150138  
    7070        static PassRefPtr<Clipboard> create(ClipboardAccessPolicy, DragData*, Frame*);
    7171
    72         virtual ~Clipboard();
     72        LEGACY_VIRTUAL ~Clipboard();
    7373
    7474        bool isForCopyAndPaste() const { return m_clipboardType == CopyAndPaste; }
     
    125125
    126126#if ENABLE(DATA_TRANSFER_ITEMS)
    127         virtual PassRefPtr<DataTransferItemList> items() = 0;
     127        LEGACY_VIRTUAL PassRefPtr<DataTransferItemList> items() = 0;
    128128#endif
    129129       
Note: See TracChangeset for help on using the changeset viewer.