Changeset 142629 in webkit


Ignore:
Timestamp:
Feb 12, 2013 8:45:26 AM (11 years ago)
Author:
ddkilzer@apple.com
Message:

BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
<https://bugs.webkit.org/show_bug.cgi?id=109534>

Fixes the following build failure:

WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)


  • WebCoreSupport/WebEditorClient.mm:

(WebEditorClient::shouldShowDeleteInterface): Protect with
ENABLE(DELETION_UI) macro.

Location:
trunk/Source/WebKit/mac
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebKit/mac/ChangeLog

    r142576 r142629  
     12013-02-12  David Kilzer  <ddkilzer@apple.com>
     2
     3        BUILD FIX (r142576): WK1 build fails when ENABLE(DELETION_UI) is off
     4        <https://bugs.webkit.org/show_bug.cgi?id=109534>
     5
     6        Fixes the following build failure:
     7
     8            WebEditorClient.mm:243:23: error: out-of-line definition of 'shouldShowDeleteInterface' does not match any declaration in 'WebEditorClient'
     9            bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
     10                                  ^~~~~~~~~~~~~~~~~~~~~~~~~
     11
     12        * WebCoreSupport/WebEditorClient.mm:
     13        (WebEditorClient::shouldShowDeleteInterface): Protect with
     14        ENABLE(DELETION_UI) macro.
     15
    1162013-02-11  Ryosuke Niwa  <rniwa@webkit.org>
    217
  • trunk/Source/WebKit/mac/WebCoreSupport/WebEditorClient.mm

    r141799 r142629  
    223223}
    224224
     225#if ENABLE(DELETION_UI)
    225226bool WebEditorClient::shouldShowDeleteInterface(HTMLElement* element)
    226227{
     
    228229        shouldShowDeleteInterfaceForElement:kit(element)];
    229230}
     231#endif
    230232
    231233bool WebEditorClient::smartInsertDeleteEnabled()
Note: See TracChangeset for help on using the changeset viewer.