Index: content/shell/shell_content_browser_client.cc |
=================================================================== |
--- content/shell/shell_content_browser_client.cc (revision 170458) |
+++ content/shell/shell_content_browser_client.cc (working copy) |
@@ -121,19 +121,6 @@ |
return NULL; |
} |
-bool ShellContentBrowserClient::CanCreateWindow( |
- const GURL& opener_url, |
- const GURL& origin, |
- WindowContainerType container_type, |
- ResourceContext* context, |
- int render_process_id, |
- bool* no_javascript_access) { |
- *no_javascript_access = false; |
- if (!CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) |
- return true; |
- return WebKitTestController::Get()->can_open_windows(); |
-} |
- |
#if defined(OS_ANDROID) |
void ShellContentBrowserClient::GetAdditionalMappedFilesForChildProcess( |
const CommandLine& command_line, |