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

Unified Diff: cc/trees/layer_tree_host_impl.cc

Issue 2752833002: cc: Use gpu raster in HUD. (Closed)
Patch Set: review comments updated. Created 3 years, 6 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
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 150bbccb5070bcf60a176c99b155fd3e4d6b783d..8625fb0d5ecaf9dad883f761f78620dfc4a7a03d 100644
--- a/cc/trees/layer_tree_host_impl.cc
+++ b/cc/trees/layer_tree_host_impl.cc
@@ -1707,8 +1707,9 @@ bool LayerTreeHostImpl::DrawLayers(FrameData* frame) {
// drawn.
if (active_tree_->hud_layer()) {
TRACE_EVENT0("cc", "DrawLayers.UpdateHudTexture");
- active_tree_->hud_layer()->UpdateHudTexture(draw_mode,
- resource_provider_.get());
+ active_tree_->hud_layer()->UpdateHudTexture(
+ draw_mode, resource_provider_.get(),
+ compositor_frame_sink_->context_provider());
}
CompositorFrameMetadata metadata = MakeCompositorFrameMetadata();

Powered by Google App Engine
This is Rietveld 408576698