| Index: content/test/layouttest_support.cc
|
| diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
|
| index 92f52f33150bd7a0db8c482dba22b328f9092e89..a9a8a50103d0077016b8c822652ea7e95282813a 100644
|
| --- a/content/test/layouttest_support.cc
|
| +++ b/content/test/layouttest_support.cc
|
| @@ -91,4 +91,8 @@ void ForceResizeRenderView(RenderView* render_view,
|
| static_cast<RenderViewImpl*>(render_view)->didAutoResize(new_size);
|
| }
|
|
|
| +void DisableNavigationErrorPages() {
|
| + RenderThreadImpl::current()->set_skip_error_pages(true);
|
| +}
|
| +
|
| } // namespace content
|
|
|