Summary: | PDFPlugin: Should respond to three-finger tap for dictionary definitions | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tim Horton <thorton> | ||||
Component: | Assignee: | Tim Horton <thorton> | |||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | ap, sam, simon.fraser | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Tim Horton
2013-01-30 19:50:32 PST
Created attachment 185661 [details]
patch
Comment on attachment 185661 [details] patch View in context: https://bugs.webkit.org/attachment.cgi?id=185661&action=review > Source/WebKit2/WebProcess/Plugins/PDF/PDFPlugin.mm:935 > + if ([lookupSelection string] && [[lookupSelection string] isNotEqualTo:@""]) Better to test [[lookupSelection string] length], which you can do without null-checking [lookupSelection string] |