diff options
Diffstat (limited to 'chromium/third_party/blink/renderer/core/editing/spellcheck/spell_checker.h')
-rw-r--r-- | chromium/third_party/blink/renderer/core/editing/spellcheck/spell_checker.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chromium/third_party/blink/renderer/core/editing/spellcheck/spell_checker.h b/chromium/third_party/blink/renderer/core/editing/spellcheck/spell_checker.h index d312e93e2be..c25947e0511 100644 --- a/chromium/third_party/blink/renderer/core/editing/spellcheck/spell_checker.h +++ b/chromium/third_party/blink/renderer/core/editing/spellcheck/spell_checker.h @@ -51,6 +51,8 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { public: static SpellChecker* Create(LocalFrame&); + explicit SpellChecker(LocalFrame&); + void Trace(blink::Visitor*); WebSpellCheckPanelHostClient& SpellCheckPanelHostClient() const; @@ -97,11 +99,9 @@ class CORE_EXPORT SpellChecker final : public GarbageCollected<SpellChecker> { // ensure leak reporting stability. void PrepareForLeakDetection(); - void DocumentAttached(Document*); + void DidAttachDocument(Document*); private: - explicit SpellChecker(LocalFrame&); - LocalFrame& GetFrame() const { DCHECK(frame_); return *frame_; |