Index: content/shell/shell_win.cc |
diff --git a/content/shell/shell_win.cc b/content/shell/shell_win.cc |
index 125887e3f2a3f9c175071215b9cee178d97f961a..9b88b6164aeba14ddd2f48af1d8c90f3c38327fe 100644 |
--- a/content/shell/shell_win.cc |
+++ b/content/shell/shell_win.cc |
@@ -9,13 +9,11 @@ |
#include <io.h> |
#include <windows.h> |
-#include "base/command_line.h" |
#include "base/utf_string_conversions.h" |
#include "base/win/wrapped_window_proc.h" |
#include "content/public/browser/web_contents.h" |
#include "content/public/browser/web_contents_view.h" |
#include "content/shell/resource.h" |
-#include "content/shell/shell_switches.h" |
#include "ui/base/win/hwnd_util.h" |
namespace { |
@@ -155,13 +153,8 @@ void Shell::SizeTo(int width, int height) { |
// Add space for the url bar. |
window_height += kURLBarHeight; |
- if (CommandLine::ForCurrentProcess()->HasSwitch(switches::kDumpRenderTree)) { |
- SetWindowPos(window_, NULL, -window_width, -window_height, |
- window_width, window_height, SWP_NOZORDER); |
- } else { |
- SetWindowPos(window_, NULL, 0, 0, window_width, window_height, |
- SWP_NOMOVE | SWP_NOZORDER); |
- } |
+ SetWindowPos(window_, NULL, 0, 0, window_width, window_height, |
+ SWP_NOMOVE | SWP_NOZORDER); |
} |
void Shell::PlatformResizeSubViews() { |