| Index: headless/lib/browser/headless_web_contents_impl.cc
|
| diff --git a/headless/lib/browser/headless_web_contents_impl.cc b/headless/lib/browser/headless_web_contents_impl.cc
|
| index 36015b66c4cf675fbb05f33f643018e63daddb68..e6db22e10637923a8edc662d1bf19d6d26385116 100644
|
| --- a/headless/lib/browser/headless_web_contents_impl.cc
|
| +++ b/headless/lib/browser/headless_web_contents_impl.cc
|
| @@ -192,6 +192,9 @@ HeadlessWebContentsImpl::CreateFromWebContents(
|
| }
|
|
|
| void HeadlessWebContentsImpl::InitializeScreen(const gfx::Size& initial_size) {
|
| + static int window_id = 1;
|
| + window_id_ = window_id++;
|
| + window_state_ = "normal";
|
| browser()->PlatformInitializeWebContents(initial_size, this);
|
| }
|
|
|
|
|