Index: cc/trees/layer_tree_host_impl.cc |
diff --git a/cc/trees/layer_tree_host_impl.cc b/cc/trees/layer_tree_host_impl.cc |
index 90907d7583f0bf6d624b4dfac18a41c7f934d24b..f62653f570be5c9e15f16caa1baaa3af8853e060 100644 |
--- a/cc/trees/layer_tree_host_impl.cc |
+++ b/cc/trees/layer_tree_host_impl.cc |
@@ -1645,7 +1645,8 @@ void LayerTreeHostImpl::CreateAndSetTileManager( |
settings_.num_raster_threads, |
rendering_stats_instrumentation_, |
using_map_image, |
- GetMaxTransferBufferUsageBytes(context_provider)); |
+ GetMaxTransferBufferUsageBytes(context_provider), |
+ settings_.use_rgba_4444_textures); |
UpdateTileManagerMemoryPolicy(ActualManagedMemoryPolicy()); |
need_to_update_visible_tiles_before_draw_ = false; |
@@ -2631,9 +2632,9 @@ void LayerTreeHostImpl::CreateUIResource( |
DeleteUIResource(uid); |
id = resource_provider_->CreateResource( |
bitmap->GetSize(), |
- resource_provider_->best_texture_format(), |
wrap_mode, |
- ResourceProvider::TextureUsageAny); |
+ ResourceProvider::TextureUsageAny, |
+ resource_provider_->best_texture_format()); |
ui_resource_map_[uid] = id; |
resource_provider_->SetPixels(id, |