TypingCommand helpers should take Document&.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 03:34:51 +0000 (03:34 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 5 Oct 2013 03:34:51 +0000 (03:34 +0000)
commitbaf592139facb56118ef203dc1de91de9f15d80c
tree691c9e023951b67c9c74eedf00a246183b411dcb
parent0c22e63f7ca9eade70e93da9e00ecb3a15dd808e
TypingCommand helpers should take Document&.
<https://webkit.org/b/122370>

Reviewed by Anders Carlsson.

Instead of taking a Document* and immediately asserting that it's
non-null, just take Document&.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@156941 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/editing/Editor.cpp
Source/WebCore/editing/EditorCommand.cpp
Source/WebCore/editing/TypingCommand.cpp
Source/WebCore/editing/TypingCommand.h
Source/WebCore/editing/mac/EditorMac.mm
Source/WebCore/page/ContextMenuController.cpp