Bug 119244 - Unnecessary const_cast<TextCheckingHelper*>(this)->findFirstBadGrammar
Summary: Unnecessary const_cast<TextCheckingHelper*>(this)->findFirstBadGrammar
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Grzegorz Czajkowski
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-30 03:54 PDT by Grzegorz Czajkowski
Modified: 2013-07-31 01:06 PDT (History)
4 users (show)

See Also:


Attachments
proposed patch (4.19 KB, patch)
2013-07-30 03:57 PDT, Grzegorz Czajkowski
rniwa: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Czajkowski 2013-07-30 03:54:56 PDT
Cleanup.

findFirstBadGrammar needs const modifier to call it in 'isUngrammatical() const' without const casting.
Comment 1 Grzegorz Czajkowski 2013-07-30 03:57:39 PDT
Created attachment 207715 [details]
proposed patch
Comment 2 Grzegorz Czajkowski 2013-07-31 01:06:08 PDT
Committed r153513: <http://trac.webkit.org/changeset/153513>