| Index: ui/compositor/compositor.cc
|
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
|
| index b057366d8561d0160dcc7e544406f316a363a514..66e6d06517812e1f941bf014f98f68adae74c3f1 100644
|
| --- a/ui/compositor/compositor.cc
|
| +++ b/ui/compositor/compositor.cc
|
| @@ -141,8 +141,8 @@ Compositor::Compositor(ui::ContextFactory* context_factory,
|
| command_line->HasSwitch(cc::switches::kEnableCompositorPropertyTrees);
|
| settings.use_zero_copy = IsUIZeroCopyEnabled();
|
|
|
| - settings.renderer_settings.use_rgba_4444_textures =
|
| - command_line->HasSwitch(switches::kUIEnableRGBA4444Textures);
|
| + if (command_line->HasSwitch(switches::kUIEnableRGBA4444Textures))
|
| + settings.renderer_settings.preferred_tile_format = cc::RGBA_4444;
|
|
|
| // UI compositor always uses partial raster if not using zero-copy. Zero copy
|
| // doesn't currently support partial raster.
|
|
|