Summary: | [BlackBerry] Appropriately handle word wrapping in SpellingHandler | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Nima Ghanavatian <nghanavatian> | ||||||||
Component: | WebKit BlackBerry | Assignee: | Nima Ghanavatian <nghanavatian> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | mifenton, rwlbuis, tonikitoo, webkit.review.bot, yong.li.webkit | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Nima Ghanavatian
2013-02-19 12:37:42 PST
Created attachment 189147 [details]
Patch
Comment on attachment 189147 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=189147&action=review Found some small nits. > Source/WebKit/blackberry/WebKitSupport/DOMSupport.cpp:535 > + endPosition = textRender->visiblePositionForIndex(textLength); I'd reverse the logic here. > Source/WebKit/blackberry/WebKitSupport/SpellingHandler.h:35 > + void setSpellCheckActive(const bool active) { m_isSpellCheckActive = active; } I am not sure const bool adds anything? It will not make it more efficient AFAICS. Created attachment 189150 [details]
Patch
Created attachment 189152 [details]
Patch
Comment on attachment 189152 [details]
Patch
Looks good.
Comment on attachment 189152 [details] Patch Clearing flags on attachment: 189152 Committed r143391: <http://trac.webkit.org/changeset/143391> All reviewed patches have been landed. Closing bug. |