| Index: cc/surfaces/display.cc
|
| diff --git a/cc/surfaces/display.cc b/cc/surfaces/display.cc
|
| index 961a340c9bacf03e6160b1207249ff7318e75517..7ab0feb78cfeba509cd26b51a2a781f17e00f026 100644
|
| --- a/cc/surfaces/display.cc
|
| +++ b/cc/surfaces/display.cc
|
| @@ -88,11 +88,14 @@ void Display::InitializeRenderer() {
|
| if (resource_provider_)
|
| return;
|
|
|
| + // Display does not use GpuMemoryBuffers, so persistent map is not relevant.
|
| + bool use_persistent_map_for_gpu_memory_buffers = false;
|
| scoped_ptr<ResourceProvider> resource_provider = ResourceProvider::Create(
|
| output_surface_.get(), bitmap_manager_, gpu_memory_buffer_manager_,
|
| blocking_main_thread_task_runner_.get(), settings_.highp_threshold_min,
|
| settings_.use_rgba_4444_textures,
|
| - settings_.texture_id_allocation_chunk_size);
|
| + settings_.texture_id_allocation_chunk_size,
|
| + use_persistent_map_for_gpu_memory_buffers);
|
| if (!resource_provider)
|
| return;
|
|
|
|
|