Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(47)

Unified Diff: cc/layers/heads_up_display_layer_impl.cc

Issue 2235623003: cc: Add gfx::ColorSpace to cc::ResourceProvider resource creation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | cc/layers/texture_layer_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/heads_up_display_layer_impl.cc
diff --git a/cc/layers/heads_up_display_layer_impl.cc b/cc/layers/heads_up_display_layer_impl.cc
index 1b62f084770ad4f681e4c62e9aa1cc75203f0a86..176aa5324708ffa5750f50755f8f5f5e92f6b85a 100644
--- a/cc/layers/heads_up_display_layer_impl.cc
+++ b/cc/layers/heads_up_display_layer_impl.cc
@@ -96,9 +96,9 @@ void HeadsUpDisplayLayerImpl::AcquireResource(
std::unique_ptr<ScopedResource> resource =
ScopedResource::Create(resource_provider);
- resource->Allocate(internal_content_bounds_,
- ResourceProvider::TEXTURE_HINT_IMMUTABLE,
- resource_provider->best_texture_format());
+ resource->Allocate(
+ internal_content_bounds_, ResourceProvider::TEXTURE_HINT_IMMUTABLE,
+ resource_provider->best_texture_format(), gfx::ColorSpace());
resources_.push_back(std::move(resource));
}
« no previous file with comments | « no previous file | cc/layers/texture_layer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698