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

Unified Diff: cc/ScrollbarLayerChromium.cpp

Issue 11074009: cc: Remove LayerTextureUpdater::Texture::updateRect() callback. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase and move ClearUploadsToEvictedResources test to CCPrioritizedTextureTest. Created 8 years, 2 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/ScrollbarLayerChromium.cpp
diff --git a/cc/ScrollbarLayerChromium.cpp b/cc/ScrollbarLayerChromium.cpp
index 745fd34c63ea18d6da831f3881eb71d1b0f7efa0..2452c89d7ed8326600121c8b7b1d7c8dae16388c 100644
--- a/cc/ScrollbarLayerChromium.cpp
+++ b/cc/ScrollbarLayerChromium.cpp
@@ -235,11 +235,8 @@ void ScrollbarLayerChromium::updatePart(CachingBitmapCanvasLayerTextureUpdater*
return;
}
- texture->prepareRect(rect, stats);
-
IntSize destOffset(0, 0);
- TextureUploader::Parameters upload = { texture, rect, destOffset };
- queue.appendFullUpload(upload);
+ texture->update(queue, rect, destOffset, false, stats);
}

Powered by Google App Engine
This is Rietveld 408576698