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

Unified Diff: cc/test/fake_scrollbar_layer.cc

Issue 12774006: cc: Chromify Layer and LayerImpl classes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: MoreAndroidCompilings Created 7 years, 9 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 | « cc/test/fake_scrollbar_layer.h ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/fake_scrollbar_layer.cc
diff --git a/cc/test/fake_scrollbar_layer.cc b/cc/test/fake_scrollbar_layer.cc
index db2a4c7fbe9c505c707a57515ad3deba030c9a4c..1700dce8c33056969336bdfe26d6557f11d132a8 100644
--- a/cc/test/fake_scrollbar_layer.cc
+++ b/cc/test/fake_scrollbar_layer.cc
@@ -23,23 +23,23 @@ FakeScrollbarLayer::FakeScrollbarLayer(
update_count_(0),
last_update_full_upload_size_(0),
last_update_partial_upload_size_(0) {
- setAnchorPoint(gfx::PointF(0, 0));
- setBounds(gfx::Size(1, 1));
- setIsDrawable(true);
+ SetAnchorPoint(gfx::PointF(0, 0));
+ SetBounds(gfx::Size(1, 1));
+ SetIsDrawable(true);
}
FakeScrollbarLayer::~FakeScrollbarLayer() {}
-void FakeScrollbarLayer::update(
- ResourceUpdateQueue& queue,
+void FakeScrollbarLayer::Update(
+ ResourceUpdateQueue* queue,
const OcclusionTracker* occlusion,
RenderingStats* stats) {
- size_t full = queue.fullUploadSize();
- size_t partial = queue.partialUploadSize();
- ScrollbarLayer::update(queue, occlusion, stats);
+ size_t full = queue->fullUploadSize();
+ size_t partial = queue->partialUploadSize();
+ ScrollbarLayer::Update(queue, occlusion, stats);
update_count_++;
- last_update_full_upload_size_ = queue.fullUploadSize() - full;
- last_update_partial_upload_size_ = queue.partialUploadSize() - partial;
+ last_update_full_upload_size_ = queue->fullUploadSize() - full;
+ last_update_partial_upload_size_ = queue->partialUploadSize() - partial;
}
} // namespace cc
« no previous file with comments | « cc/test/fake_scrollbar_layer.h ('k') | cc/test/layer_tree_json_parser.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698