| Index: content/test/content_browser_test_utils_internal.cc
|
| diff --git a/content/test/content_browser_test_utils_internal.cc b/content/test/content_browser_test_utils_internal.cc
|
| index 45664e84b90ef937a74605082fe3d425554abaa0..586fa840ee146e983a7e69ff3348b6d260d07c6e 100644
|
| --- a/content/test/content_browser_test_utils_internal.cc
|
| +++ b/content/test/content_browser_test_utils_internal.cc
|
| @@ -35,7 +35,6 @@
|
| #include "content/public/test/content_browser_test_utils.h"
|
| #include "content/public/test/test_frame_navigation_observer.h"
|
| #include "content/shell/browser/shell.h"
|
| -#include "content/shell/browser/shell_javascript_dialog_manager.h"
|
| #include "net/url_request/url_request.h"
|
|
|
| namespace content {
|
| @@ -49,13 +48,6 @@ void NavigateFrameToURL(FrameTreeNode* node, const GURL& url) {
|
| observer.Wait();
|
| }
|
|
|
| -void SetShouldProceedOnBeforeUnload(Shell* shell, bool proceed) {
|
| - ShellJavaScriptDialogManager* manager =
|
| - static_cast<ShellJavaScriptDialogManager*>(
|
| - shell->GetJavaScriptDialogManager(shell->web_contents()));
|
| - manager->set_should_proceed_on_beforeunload(proceed);
|
| -}
|
| -
|
| RenderFrameHost* ConvertToRenderFrameHost(FrameTreeNode* frame_tree_node) {
|
| return frame_tree_node->current_frame_host();
|
| }
|
|
|