Commit 10eeaaf9 authored by Fady Samuel's avatar Fady Samuel Committed by Commit Bot

Remove kDisableResizeLock command line flag

This is no longer used.

Change-Id: I395e5e28f987326011e82b81c27534f23a8e6c7d
TBR: sky@chromium.org
Reviewed-on: https://chromium-review.googlesource.com/c/1302096
Commit-Queue: Fady Samuel <fsamuel@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Reviewed-by: default avatarAntoine Labour <piman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#603232}
parent 44f1bcb2
......@@ -255,10 +255,6 @@ void TabDragControllerTest::SetUp() {
InProcessBrowserTest::SetUp();
}
void TabDragControllerTest::SetUpCommandLine(base::CommandLine* command_line) {
command_line->AppendSwitch(switches::kDisableResizeLock);
}
namespace {
enum InputSource {
......
......@@ -52,7 +52,6 @@ class TabDragControllerTest : public InProcessBrowserTest {
// InProcessBrowserTest:
void SetUp() override;
void SetUpCommandLine(base::CommandLine* command_line) override;
private:
DISALLOW_COPY_AND_ASSIGN(TabDragControllerTest);
......
......@@ -243,10 +243,8 @@ void DelegatedFrameHost::EmbedSurface(
client_->DelegatedFrameHostGetLayer()->SetShowSurface(
new_primary_surface_id, current_frame_size_in_dip_, GetGutterColor(),
deadline_policy, false /* stretch_content_to_fill_bounds */);
if (compositor_ && !base::CommandLine::ForCurrentProcess()->HasSwitch(
switches::kDisableResizeLock)) {
if (compositor_)
compositor_->OnChildResizing();
}
}
}
......
......@@ -244,10 +244,6 @@ const char kDisableRendererAccessibility[] = "disable-renderer-accessibility";
// Prevent renderer process backgrounding when set.
const char kDisableRendererBackgrounding[] = "disable-renderer-backgrounding";
// Whether the resize lock is disabled. Default is false. This is generally only
// useful for tests that want to force disabling.
const char kDisableResizeLock[] = "disable-resize-lock";
// Whether the ResourceScheduler is disabled. Note this is only useful for C++
// Headless embedders who need to implement their own resource scheduling.
const char kDisableResourceScheduler[] = "disable-resource-scheduler";
......
......@@ -85,7 +85,6 @@ extern const char kDisableRemoteFonts[];
CONTENT_EXPORT extern const char kDisableRemotePlaybackAPI[];
extern const char kDisableRendererAccessibility[];
CONTENT_EXPORT extern const char kDisableRendererBackgrounding[];
CONTENT_EXPORT extern const char kDisableResizeLock[];
CONTENT_EXPORT extern const char kDisableResourceScheduler[];
CONTENT_EXPORT extern const char kDisableSharedWorkers[];
CONTENT_EXPORT extern const char kDisableSkiaRuntimeOpts[];
......
......@@ -209,7 +209,6 @@ bool ShellMainDelegate::BasicStartupComplete(int* exit_code) {
return true;
}
#endif
command_line.AppendSwitch(switches::kDisableResizeLock);
command_line.AppendSwitch(cc::switches::kEnableGpuBenchmarking);
command_line.AppendSwitch(switches::kEnableLogging);
command_line.AppendSwitch(switches::kAllowFileAccessFromFiles);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment