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); |