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

Unified Diff: cc/layers/layer.cc

Issue 2882543002: Remove Layer{Impl}::HasOnlyTranslationTransforms. (Closed)
Patch Set: Created 3 years, 7 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.h ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/layer.cc
diff --git a/cc/layers/layer.cc b/cc/layers/layer.cc
index 6845f0e111c893527bec976f40f4d929b911ae45..a2357298fa9fa7afb9014218e5483c80c456e6f3 100644
--- a/cc/layers/layer.cc
+++ b/cc/layers/layer.cc
@@ -699,11 +699,6 @@ bool Layer::ScrollOffsetAnimationWasInterrupted() const {
return GetMutatorHost()->ScrollOffsetAnimationWasInterrupted(element_id());
}
-bool Layer::HasOnlyTranslationTransforms() const {
- return GetMutatorHost()->HasOnlyTranslationTransforms(
- element_id(), GetElementTypeForAnimation());
-}
-
void Layer::SetScrollParent(Layer* parent) {
DCHECK(IsPropertyChangeAllowed());
if (inputs_.scroll_parent == parent)
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698