| Index: third_party/WebKit/Source/core/frame/FrameView.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| index 8494a860f4d09910b458768c54de89b22fd622f5..01f72561bc2073d77a86794e25bdf0ed6efcd392 100644
|
| --- a/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
|
| @@ -718,7 +718,7 @@ void FrameView::AdjustViewSize() {
|
| if (layout_view_item.IsNull())
|
| return;
|
|
|
| - ASSERT(frame_->View() == this);
|
| + DCHECK_EQ(frame_->View(), this);
|
|
|
| const IntRect rect = layout_view_item.DocumentRect();
|
| const IntSize& size = rect.Size();
|
| @@ -1158,7 +1158,7 @@ void FrameView::ScheduleOrPerformPostLayoutTasks() {
|
| void FrameView::UpdateLayout() {
|
| // We should never layout a Document which is not in a LocalFrame.
|
| DCHECK(frame_);
|
| - DCHECK(frame_->View() == this);
|
| + DCHECK_EQ(frame_->View(), this);
|
| DCHECK(frame_->GetPage());
|
|
|
| ScriptForbiddenScope forbid_script;
|
|
|