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

Unified Diff: cc/test/fake_scrollbar_layer.cc

Issue 18191020: UI Resource Manager (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 5 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/test/fake_scrollbar_layer.cc
===================================================================
--- cc/test/fake_scrollbar_layer.cc (revision 213304)
+++ cc/test/fake_scrollbar_layer.cc (working copy)
@@ -17,10 +17,7 @@
scoped_ptr<Scrollbar>(
new FakeScrollbar(paint_during_update, has_thumb, false)).Pass(),
scrolling_layer_id),
- update_count_(0),
- push_properties_count_(0),
- last_update_full_upload_size_(0),
- last_update_partial_upload_size_(0) {
+ update_count_(0) {
SetAnchorPoint(gfx::PointF(0.f, 0.f));
SetBounds(gfx::Size(1, 1));
SetIsDrawable(true);
@@ -30,12 +27,8 @@
bool FakeScrollbarLayer::Update(ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion) {
- size_t full = queue->FullUploadSize();
- size_t partial = queue->PartialUploadSize();
bool updated = ScrollbarLayer::Update(queue, occlusion);
update_count_++;
- last_update_full_upload_size_ = queue->FullUploadSize() - full;
- last_update_partial_upload_size_ = queue->PartialUploadSize() - partial;
return updated;
}

Powered by Google App Engine
This is Rietveld 408576698