Index: cc/test/fake_scrollbar_layer.cc |
diff --git a/cc/test/fake_scrollbar_layer.cc b/cc/test/fake_scrollbar_layer.cc |
index 64e08adf5f8611da6455fd74f6c29a1f53ee1c23..77cf82616ac145f9fa2d8914bf19dfb9ecefccc0 100644 |
--- a/cc/test/fake_scrollbar_layer.cc |
+++ b/cc/test/fake_scrollbar_layer.cc |
@@ -18,9 +18,7 @@ FakeScrollbarLayer::FakeScrollbarLayer(bool paint_during_update, |
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) { |
+ push_properties_count_(0) { |
SetAnchorPoint(gfx::PointF(0.f, 0.f)); |
SetBounds(gfx::Size(1, 1)); |
SetIsDrawable(true); |
@@ -30,12 +28,8 @@ FakeScrollbarLayer::~FakeScrollbarLayer() {} |
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; |
+ ++update_count_; |
return updated; |
} |