Don't preflight spell checker when calling -setContinuousSpellCheckingEnabled repeatedly
authorap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 06:40:44 +0000 (06:40 +0000)
committerap@apple.com <ap@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 06:40:44 +0000 (06:40 +0000)
commit13c3bb7b89f3125f58171f96e2019ba246efe317
tree2ba66501cb6411fdbf0b3ad4b7f7b7b154617f0e
parent256573995eeb02ba9b77280f69d15017b97bad91
Don't preflight spell checker when calling -setContinuousSpellCheckingEnabled repeatedly
https://bugs.webkit.org/show_bug.cgi?id=122329

Reviewed by Darin Adler.

* WebView/WebView.mm: (-[WebView setContinuousSpellCheckingEnabled:]): Don't do any
work if preference didn't change (continuousSpellCheckingEnabled is a static that
starts with false).

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156949 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebKit/mac/ChangeLog
Source/WebKit/mac/WebView/WebView.mm