Bug 140765 - Avoid defining always empty Vector<TextCheckingResult> in SpellChecker::didCheckCancel
Summary: Avoid defining always empty Vector<TextCheckingResult> in SpellChecker::didCh...
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: 2015-01-22 07:29 PST by Grzegorz Czajkowski
Modified: 2015-01-22 12:01 PST (History)
3 users (show)

See Also:


Attachments
Patch (1.39 KB, patch)
2015-01-22 07:32 PST, Grzegorz Czajkowski
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Grzegorz Czajkowski 2015-01-22 07:29:52 PST
Cleanup.
I found it while I was working on bug 139862. 
There is no need to define vector which is always empty. Pass it directly instead.
Comment 1 Grzegorz Czajkowski 2015-01-22 07:32:35 PST
Created attachment 245142 [details]
Patch
Comment 2 WebKit Commit Bot 2015-01-22 12:01:21 PST
Comment on attachment 245142 [details]
Patch

Clearing flags on attachment: 245142

Committed r178930: <http://trac.webkit.org/changeset/178930>
Comment 3 WebKit Commit Bot 2015-01-22 12:01:27 PST
All reviewed patches have been landed.  Closing bug.