Index: Source/WebCore/editing/CompositeEditCommand.cpp |
=================================================================== |
--- Source/WebCore/editing/CompositeEditCommand.cpp (revision 143077) |
+++ Source/WebCore/editing/CompositeEditCommand.cpp (working copy) |
@@ -93,7 +93,7 @@ |
void EditCommandComposition::unapply() |
{ |
ASSERT(m_document); |
- Frame* frame = m_document->frame(); |
+ RefPtr<Frame> frame = m_document->frame(); |
ASSERT(frame); |
// Changes to the document may have been made since the last editing operation that require a layout, as in <rdar://problem/5658603>. |
@@ -114,7 +114,7 @@ |
void EditCommandComposition::reapply() |
{ |
ASSERT(m_document); |
- Frame* frame = m_document->frame(); |
+ RefPtr<Frame> frame = m_document->frame(); |
ASSERT(frame); |
// Changes to the document may have been made since the last editing operation that require a layout, as in <rdar://problem/5658603>. |