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

Unified Diff: Source/core/animation/DocumentAnimations.cpp

Issue 1033943002: Rename LayoutStyle to papayawhip (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: ensureComputedStyle Created 5 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 | « Source/core/animation/Animation.cpp ('k') | Source/core/animation/EffectInput.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/DocumentAnimations.cpp
diff --git a/Source/core/animation/DocumentAnimations.cpp b/Source/core/animation/DocumentAnimations.cpp
index 30e547b606a3c0580975d071fd5c54f0d4dd546e..e6d6c8c28806439985f3dfdef2fc0392dd3c8596 100644
--- a/Source/core/animation/DocumentAnimations.cpp
+++ b/Source/core/animation/DocumentAnimations.cpp
@@ -36,7 +36,7 @@
#include "core/dom/Document.h"
#include "core/dom/Element.h"
#include "core/dom/Node.h"
-#include "core/dom/NodeLayoutStyle.h"
+#include "core/dom/NodeComputedStyle.h"
#include "core/frame/FrameView.h"
#include "core/frame/LocalFrame.h"
#include "core/layout/LayoutView.h"
@@ -69,7 +69,7 @@ void DocumentAnimations::updateAnimationTimingForGetComputedStyle(Node& node, CS
if (!node.isElementNode())
return;
const Element& element = toElement(node);
- if (const LayoutStyle* style = element.layoutStyle()) {
+ if (const ComputedStyle* style = element.computedStyle()) {
if ((property == CSSPropertyOpacity && style->isRunningOpacityAnimationOnCompositor())
|| ((property == CSSPropertyTransform || property == CSSPropertyWebkitTransform) && style->isRunningTransformAnimationOnCompositor())
|| (property == CSSPropertyWebkitFilter && style->isRunningFilterAnimationOnCompositor())) {
« no previous file with comments | « Source/core/animation/Animation.cpp ('k') | Source/core/animation/EffectInput.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698