Changeset 163660 in webkit


Ignore:
Timestamp:
Feb 7, 2014 4:19:49 PM (10 years ago)
Author:
mitz@apple.com
Message:

iOS build fix.

  • Misc/WebElementDictionary.mm:

(+[WebElementDictionary initializeLookupTable]):
(-[WebElementDictionary _image]):
(-[WebElementDictionary _imageRect]):

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

Legend:

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

    r163568 r163660  
     12014-02-07  Dan Bernstein  <mitz@apple.com>
     2
     3        iOS build fix.
     4
     5        * Misc/WebElementDictionary.mm:
     6        (+[WebElementDictionary initializeLookupTable]):
     7        (-[WebElementDictionary _image]):
     8        (-[WebElementDictionary _imageRect]):
     9
    1102014-02-06  Joseph Pecoraro  <pecoraro@apple.com>
    211
  • trunk/Source/WebKit/mac/Misc/WebElementDictionary.mm

    r162831 r163660  
    8484    addLookupKey(WebElementFrameKey, @selector(_webFrame));
    8585    addLookupKey(WebElementImageAltStringKey, @selector(_altDisplayString));
     86#if !PLATFORM(IOS)
    8687    addLookupKey(WebElementImageKey, @selector(_image));
    8788    addLookupKey(WebElementImageRectKey, @selector(_imageRect));
     89#endif
    8890    addLookupKey(WebElementImageURLKey, @selector(_absoluteImageURL));
    8991    addLookupKey(WebElementIsSelectedKey, @selector(_isSelected));
     
    205207}
    206208
     209#if !PLATFORM(IOS)
     210
    207211- (NSImage *)_image
    208212{
    209 #if !PLATFORM(IOS)
    210213    Image* image = _result->image();
    211214    return image ? image->getNSImage() : nil;
    212 #else
    213     return nil;
    214 #endif
    215215}
    216216
    217217- (NSValue *)_imageRect
    218218{
    219 #if !PLATFORM(IOS)
    220219    IntRect rect = _result->imageRect();
    221220    return rect.isEmpty() ? nil : [NSValue valueWithRect:rect];
    222 #else
    223     return nil;
     221}
     222
    224223#endif
    225 }
    226224
    227225- (NSURL *)_absoluteImageURL
Note: See TracChangeset for help on using the changeset viewer.