Index: Source/WebCore/editing/CompositeEditCommand.cpp |
=================================================================== |
--- Source/WebCore/editing/CompositeEditCommand.cpp (revision 143516) |
+++ Source/WebCore/editing/CompositeEditCommand.cpp (working copy) |
@@ -92,7 +92,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>. |
@@ -113,7 +113,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>. |