Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: third_party/WebKit/Source/core/editing/Editor.h

Issue 2720193002: Implement hot mode invocation for idle time spell checker (Closed)
Patch Set: Wed Mar 1 16:02:57 PST 2017 Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 6c05079cfa993060965fbb8be0a2a05bf16e5563..e1593cc42a8d8444bcaed2f15383a25a6a1b705a 100644
--- a/third_party/WebKit/Source/core/editing/Editor.h
+++ b/third_party/WebKit/Source/core/editing/Editor.h
@@ -198,6 +198,7 @@ class CORE_EXPORT Editor final : public GarbageCollectedFinalized<Editor> {
void undo();
bool canRedo();
void redo();
+ UndoStack& undoStack() const { return *m_undoStack; }
yosin_UTC9 2017/03/02 03:38:40 This should be |const UndoStack&|. Except for Edit
Xiaocheng 2017/03/02 04:34:59 Compile error if changed to |const UndoStack&|: bi
void setBaseWritingDirection(WritingDirection);

Powered by Google App Engine
This is Rietveld 408576698