| Index: third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
|
| diff --git a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
|
| index 0339a641ce4ec7b1e28038caac5e6b3271c979c3..f21b850c39719ca729692add25b043c775407b1c 100644
|
| --- a/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
|
| +++ b/third_party/WebKit/Source/core/testing/v8/WebCoreTestSupport.cpp
|
| @@ -111,14 +111,14 @@ void resetInternalsObject(v8::Local<v8::Context> context) {
|
| blink::ScriptState* scriptState = blink::ScriptState::from(context);
|
| blink::ScriptState::Scope scope(scriptState);
|
| blink::Document* document = toDocument(scriptState->getExecutionContext());
|
| - ASSERT(document);
|
| + DCHECK(document);
|
| blink::LocalFrame* frame = document->frame();
|
| // Should the document have been detached, the page is assumed being destroyed
|
| // (=> no reset required.)
|
| if (!frame)
|
| return;
|
| blink::Page* page = frame->page();
|
| - ASSERT(page);
|
| + DCHECK(page);
|
| blink::Internals::resetToConsistentState(page);
|
| blink::InternalSettings::from(*page)->resetToConsistentState();
|
| }
|
|
|