Index: third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
diff --git a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
index b04cd1c097701ec218b35073b1dbb74a91785b8f..c28c39528ccc7e12d6cd30a5845c1b185ad3eb52 100644 |
--- a/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
+++ b/third_party/WebKit/Source/web/WebLocalFrameImpl.cpp |
@@ -1074,6 +1074,7 @@ bool WebLocalFrameImpl::isCommandEnabled(const WebString& name) const { |
} |
void WebLocalFrameImpl::enableSpellChecking(bool enable) { |
+ CHECK(frame()); |
Xiaocheng
2017/04/07 01:43:46
Crash site.
|
if (enable == isSpellCheckingEnabled()) |
return; |
frame()->spellChecker().toggleSpellCheckingEnabled(); |