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

Unified Diff: ui/compositor/layer_animation_sequence.cc

Issue 13725015: Merge ui::Layer's concept of position with cc::Layer's (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 8 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 | « ui/compositor/layer_animation_element.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/layer_animation_sequence.cc
diff --git a/ui/compositor/layer_animation_sequence.cc b/ui/compositor/layer_animation_sequence.cc
index 8414f4289168cdc073a769cd3fa4461a4e7b4ad9..371e54092194557b4933c0d038b2be131609a51c 100644
--- a/ui/compositor/layer_animation_sequence.cc
+++ b/ui/compositor/layer_animation_sequence.cc
@@ -183,18 +183,7 @@ bool LayerAnimationSequence::HasConflictingProperty(
std::set_intersection(properties_.begin(), properties_.end(),
other.begin(), other.end(),
ii);
- if (intersection.size() > 0)
- return true;
-
- if (properties_.find(LayerAnimationElement::TRANSFORM) != properties_.end() &&
- other.find(LayerAnimationElement::BOUNDS) != other.end())
- return true;
-
- if (properties_.find(LayerAnimationElement::BOUNDS) != properties_.end() &&
- other.find(LayerAnimationElement::TRANSFORM) != other.end())
- return true;
-
- return false;
+ return (intersection.size() > 0);
}
bool LayerAnimationSequence::IsFirstElementThreaded() const {
« no previous file with comments | « ui/compositor/layer_animation_element.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698