Index: third_party/WebKit/Source/core/editing/Editor.h |
diff --git a/third_party/WebKit/Source/core/editing/Editor.h b/third_party/WebKit/Source/core/editing/Editor.h |
index 3e05912250e162a4f3ba17bce4df5a076241df82..7e39bb99a54ccbbbb6ea46f99d797d6d0840cfea 100644 |
--- a/third_party/WebKit/Source/core/editing/Editor.h |
+++ b/third_party/WebKit/Source/core/editing/Editor.h |
@@ -200,6 +200,10 @@ class CORE_EXPORT Editor final : public GarbageCollectedFinalized<Editor> { |
bool canRedo(); |
void redo(); |
+ // Exposed for IdleSpellCheckCallback only. |
+ // Supposed to be used as |const UndoStack&|. |
+ UndoStack& undoStack() const { return *m_undoStack; } |
+ |
void setBaseWritingDirection(WritingDirection); |
// smartInsertDeleteEnabled and selectTrailingWhitespaceEnabled are |