| Index: content/test/layouttest_support.cc
|
| diff --git a/content/test/layouttest_support.cc b/content/test/layouttest_support.cc
|
| index fefd00efdf062bb27b479e32d044f8641eb3f324..c23f1a1eb93fe2d1737c1dd66e5177f3bf1607bd 100644
|
| --- a/content/test/layouttest_support.cc
|
| +++ b/content/test/layouttest_support.cc
|
| @@ -26,6 +26,7 @@
|
| #include "content/common/renderer.mojom.h"
|
| #include "content/common/site_isolation_policy.h"
|
| #include "content/public/common/page_state.h"
|
| +#include "content/public/common/screen_info.h"
|
| #include "content/public/renderer/renderer_gamepad_provider.h"
|
| #include "content/renderer/fetchers/manifest_fetcher.h"
|
| #include "content/renderer/gpu/render_widget_compositor.h"
|
| @@ -347,9 +348,11 @@ class LayoutTestDependenciesImpl : public LayoutTestDependencies,
|
| if (!task_runner)
|
| task_runner = base::ThreadTaskRunnerHandle::Get().get();
|
|
|
| + ScreenInfo dummy_screen_info;
|
| cc::LayerTreeSettings settings =
|
| RenderWidgetCompositor::GenerateLayerTreeSettings(
|
| - *base::CommandLine::ForCurrentProcess(), deps, 1.f);
|
| + *base::CommandLine::ForCurrentProcess(), deps, 1.f,
|
| + dummy_screen_info);
|
|
|
| auto compositor_frame_sink = base::MakeUnique<cc::TestCompositorFrameSink>(
|
| std::move(compositor_context_provider),
|
|
|