| Index: ui/compositor/compositor.cc
|
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
|
| index f36e09d59ce8851e2f2ed873b1dd4fe98bacca6c..7e7b109a09d10ec2ed88bd14313d2cc37cf5c9d4 100644
|
| --- a/ui/compositor/compositor.cc
|
| +++ b/ui/compositor/compositor.cc
|
| @@ -45,11 +45,6 @@ namespace {
|
| const double kDefaultRefreshRate = 60.0;
|
| const double kTestRefreshRate = 200.0;
|
|
|
| -bool IsRunningInMojoShell(base::CommandLine* command_line) {
|
| - const char kMojoShellFlag[] = "mojo-platform-channel-handle";
|
| - return command_line->HasSwitch(kMojoShellFlag);
|
| -}
|
| -
|
| } // namespace
|
|
|
| namespace ui {
|
| @@ -188,10 +183,7 @@ Compositor::Compositor(ui::ContextFactory* context_factory,
|
| // thread.
|
| settings.image_decode_tasks_enabled = false;
|
|
|
| - // TODO(crbug.com/603600): This should always be turned on once mus tells its
|
| - // clients about BeginFrame.
|
| - settings.use_output_surface_begin_frame_source =
|
| - !IsRunningInMojoShell(command_line);
|
| + settings.use_output_surface_begin_frame_source = true;
|
|
|
| #if !defined(OS_ANDROID)
|
| // TODO(sohanjg): Revisit this memory usage in tile manager.
|
|
|