Changeset 163660 in webkit
- Timestamp:
- Feb 7, 2014 4:19:49 PM (10 years ago)
- Location:
- trunk/Source/WebKit/mac
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/mac/ChangeLog
r163568 r163660 1 2014-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 1 10 2014-02-06 Joseph Pecoraro <pecoraro@apple.com> 2 11 -
trunk/Source/WebKit/mac/Misc/WebElementDictionary.mm
r162831 r163660 84 84 addLookupKey(WebElementFrameKey, @selector(_webFrame)); 85 85 addLookupKey(WebElementImageAltStringKey, @selector(_altDisplayString)); 86 #if !PLATFORM(IOS) 86 87 addLookupKey(WebElementImageKey, @selector(_image)); 87 88 addLookupKey(WebElementImageRectKey, @selector(_imageRect)); 89 #endif 88 90 addLookupKey(WebElementImageURLKey, @selector(_absoluteImageURL)); 89 91 addLookupKey(WebElementIsSelectedKey, @selector(_isSelected)); … … 205 207 } 206 208 209 #if !PLATFORM(IOS) 210 207 211 - (NSImage *)_image 208 212 { 209 #if !PLATFORM(IOS)210 213 Image* image = _result->image(); 211 214 return image ? image->getNSImage() : nil; 212 #else213 return nil;214 #endif215 215 } 216 216 217 217 - (NSValue *)_imageRect 218 218 { 219 #if !PLATFORM(IOS)220 219 IntRect rect = _result->imageRect(); 221 220 return rect.isEmpty() ? nil : [NSValue valueWithRect:rect]; 222 #else 223 return nil; 221 } 222 224 223 #endif 225 }226 224 227 225 - (NSURL *)_absoluteImageURL
Note: See TracChangeset
for help on using the changeset viewer.