| Index: third_party/WebKit/Source/core/page/FrameTree.cpp
|
| diff --git a/third_party/WebKit/Source/core/page/FrameTree.cpp b/third_party/WebKit/Source/core/page/FrameTree.cpp
|
| index 29d2a49089d485622075f03d89e80fc5cb4d1aeb..cb492e67a9a8b82249eb68df941bd2440ceac657 100644
|
| --- a/third_party/WebKit/Source/core/page/FrameTree.cpp
|
| +++ b/third_party/WebKit/Source/core/page/FrameTree.cpp
|
| @@ -217,7 +217,7 @@ DISABLE_CFI_PERF
|
| Frame* FrameTree::TraverseNext(const Frame* stay_within) const {
|
| Frame* child = FirstChild();
|
| if (child) {
|
| - ASSERT(!stay_within || child->Tree().IsDescendantOf(stay_within));
|
| + DCHECK(!stay_within || child->Tree().IsDescendantOf(stay_within));
|
| return child;
|
| }
|
|
|
| @@ -226,7 +226,7 @@ Frame* FrameTree::TraverseNext(const Frame* stay_within) const {
|
|
|
| Frame* sibling = NextSibling();
|
| if (sibling) {
|
| - ASSERT(!stay_within || sibling->Tree().IsDescendantOf(stay_within));
|
| + DCHECK(!stay_within || sibling->Tree().IsDescendantOf(stay_within));
|
| return sibling;
|
| }
|
|
|
| @@ -239,7 +239,7 @@ Frame* FrameTree::TraverseNext(const Frame* stay_within) const {
|
| }
|
|
|
| if (frame) {
|
| - ASSERT(!stay_within || !sibling ||
|
| + DCHECK(!stay_within || !sibling ||
|
| sibling->Tree().IsDescendantOf(stay_within));
|
| return sibling;
|
| }
|
|
|