Commit c7d3ac1c authored by danakj@chromium.org's avatar danakj@chromium.org

Remove the --ui-enable-threaded-compositing flag.

We're not planning to enable this on any new platforms, so we can just
hardcode it off when not on ChromeOS. Leaving the disable flag for
ChromeOS for now, as we're working on disabling that code path there.

R=piman
BUG=

Review URL: https://codereview.chromium.org/167973003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@251896 0039d316-1c4b-4281-b951-d872f2087c98
parent cb7a1121
......@@ -278,11 +278,7 @@ void Compositor::Initialize() {
bool use_thread = !CommandLine::ForCurrentProcess()->HasSwitch(
switches::kUIDisableThreadedCompositing);
#else
bool use_thread =
CommandLine::ForCurrentProcess()->HasSwitch(
switches::kUIEnableThreadedCompositing) &&
!CommandLine::ForCurrentProcess()->HasSwitch(
switches::kUIDisableThreadedCompositing);
bool use_thread = false;
#endif
if (use_thread) {
g_compositor_thread = new base::Thread("Browser Compositor");
......
......@@ -18,8 +18,6 @@ const char kUIEnableDeadlineScheduling[] = "ui-enable-deadline-scheduling";
const char kUIEnableSoftwareCompositing[] = "ui-enable-software-compositing";
const char kUIEnableThreadedCompositing[] = "ui-enable-threaded-compositing";
const char kUIMaxFramesPending[] = "ui-max-frames-pending";
const char kUIShowPaintRects[] = "ui-show-paint-rects";
......
......@@ -14,7 +14,6 @@ COMPOSITOR_EXPORT extern const char kUIDisableDeadlineScheduling[];
COMPOSITOR_EXPORT extern const char kUIDisableThreadedCompositing[];
COMPOSITOR_EXPORT extern const char kUIEnableDeadlineScheduling[];
COMPOSITOR_EXPORT extern const char kUIEnableSoftwareCompositing[];
COMPOSITOR_EXPORT extern const char kUIEnableThreadedCompositing[];
COMPOSITOR_EXPORT extern const char kUIMaxFramesPending[];
COMPOSITOR_EXPORT extern const char kUIShowPaintRects[];
......
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