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

Unified Diff: cc/picture_layer.cc

Issue 12383060: cc: Remove texture scaling and clear edge texels of a layer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and expand base picture Created 7 years, 10 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/picture_layer_tiling.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/picture_layer.cc
diff --git a/cc/picture_layer.cc b/cc/picture_layer.cc
index 348d952c043916d358edf41f0e827f6a0be26724..cfa90ab8536e2081a7501915bb9242c9529b41cf 100644
--- a/cc/picture_layer.cc
+++ b/cc/picture_layer.cc
@@ -79,7 +79,11 @@ void PictureLayer::update(ResourceUpdateQueue&, const OcclusionTracker*,
gfx::Rect visible_layer_rect = gfx::ToEnclosingRect(
gfx::ScaleRect(visibleContentRect(), 1.f / contentsScaleX()));
devtools_instrumentation::ScopedPaintLayer paint_layer(id());
- pile_->Update(client_, pile_invalidation_, visible_layer_rect, stats);
+ pile_->Update(client_,
+ backgroundColor(),
+ pile_invalidation_,
+ visible_layer_rect,
+ stats);
}
void PictureLayer::setIsMask(bool is_mask) {
« no previous file with comments | « no previous file | cc/picture_layer_tiling.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698