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

Unified Diff: cc/layers/layer_impl_unittest.cc

Issue 681713002: Update from chromium https://crrev.com/301315 (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 6 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
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer_impl_unittest.cc
diff --git a/cc/layers/layer_impl_unittest.cc b/cc/layers/layer_impl_unittest.cc
index 8d120bef621d19b9f40f424451858278f6ed743b..99673f6146b7495e83cbf4279c58cf2308d6698f 100644
--- a/cc/layers/layer_impl_unittest.cc
+++ b/cc/layers/layer_impl_unittest.cc
@@ -502,6 +502,7 @@ class ScrollDelegateIgnore : public LayerImpl::ScrollOffsetDelegate {
return gfx::ScrollOffset(fixed_offset_);
}
bool IsExternalFlingActive() const override { return false; }
+ void Update() const override { }
void set_fixed_offset(const gfx::Vector2dF& fixed_offset) {
fixed_offset_ = fixed_offset;
@@ -551,6 +552,7 @@ class ScrollDelegateAccept : public LayerImpl::ScrollOffsetDelegate {
}
gfx::ScrollOffset GetTotalScrollOffset() override { return current_offset_; }
bool IsExternalFlingActive() const override { return false; }
+ void Update() const override { }
private:
gfx::ScrollOffset current_offset_;
« no previous file with comments | « cc/layers/layer_impl.cc ('k') | cc/layers/picture_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698