| Index: content/shell/shell.cc
|
| diff --git a/content/shell/shell.cc b/content/shell/shell.cc
|
| index 0d32f0ffc387d88151f118b9d9cdbe20834fafe6..903d6e60eacba9e93f5cc7cf899ff3fb1b48d561 100644
|
| --- a/content/shell/shell.cc
|
| +++ b/content/shell/shell.cc
|
| @@ -22,6 +22,7 @@
|
| #include "content/public/browser/web_contents.h"
|
| #include "content/public/browser/web_contents_view.h"
|
| #include "content/public/common/renderer_preferences.h"
|
| +#include "content/shell/notify_done_forwarder.h"
|
| #include "content/shell/shell_browser_main_parts.h"
|
| #include "content/shell/shell_content_browser_client.h"
|
| #include "content/shell/shell_devtools_frontend.h"
|
| @@ -263,6 +264,8 @@ void Shell::WebContentsCreated(WebContents* source_contents,
|
| const GURL& target_url,
|
| WebContents* new_contents) {
|
| CreateShell(new_contents);
|
| + if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree))
|
| + NotifyDoneForwarder::CreateForWebContents(new_contents);
|
| }
|
|
|
| void Shell::DidNavigateMainFramePostCommit(WebContents* web_contents) {
|
|
|