Index: Source/core/frame/Frame.cpp |
diff --git a/Source/core/frame/Frame.cpp b/Source/core/frame/Frame.cpp |
index f647b3e5988b5ed202236a17a12183a39112612d..a0eaf7aa43b385ec6bbf8234a456f07c91e560df 100644 |
--- a/Source/core/frame/Frame.cpp |
+++ b/Source/core/frame/Frame.cpp |
@@ -93,6 +93,7 @@ Frame::~Frame() |
void Frame::detachChildren() |
{ |
+ ASSERT(refCount() > 1); |
kenrb
2014/09/05 19:28:09
I'm fine with this, but it should have a comment o
nasko
2014/09/05 23:37:29
Done.
|
typedef Vector<RefPtr<Frame> > FrameVector; |
FrameVector childrenToDetach; |
childrenToDetach.reserveCapacity(tree().childCount()); |