<https://webkit.org/b/119952> Simplify Editor's back-pointer to the Frame.
authorakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Aug 2013 17:29:37 +0000 (17:29 +0000)
committerakling@apple.com <akling@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 17 Aug 2013 17:29:37 +0000 (17:29 +0000)
commitf3ce43da6be251381d849f7ae58f1d431b67aecd
treee7a9eec3a5d0ecea10afb2f04cd5a1f3caacc2a4
parentc3ded769e022b20a075214284d952876e905ca4d
<https://webkit.org/b/119952> Simplify Editor's back-pointer to the Frame.

Reviewed by Antti Koivisto.

Remove Editor's inheritance from FrameDestructionObserver. Editor is owned by Frame and
has no interest in observing frame destruction since its own destruction will soon follow.

Editor::m_frame is now a reference instead of a pointer. Removed some null checking.

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