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

Unified Diff: Source/core/animation/DocumentAnimation.h

Issue 176903004: Have Document::timeline() / Document::transitionTimeline() return a reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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/AnimationTest.cpp ('k') | Source/core/animation/DocumentAnimations.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/DocumentAnimation.h
diff --git a/Source/core/animation/DocumentAnimation.h b/Source/core/animation/DocumentAnimation.h
index 75a9c546a8fd14f6b429be9c39e55bd32c1563f1..7ca1234390e98c991538d1b13dbac5735f597fcf 100644
--- a/Source/core/animation/DocumentAnimation.h
+++ b/Source/core/animation/DocumentAnimation.h
@@ -11,7 +11,7 @@ namespace WebCore {
class DocumentAnimation {
public:
- static DocumentTimeline* timeline(Document& document) { return document.timeline(); }
+ static DocumentTimeline* timeline(Document& document) { return &document.timeline(); }
};
} // namespace WebCore
« no previous file with comments | « Source/core/animation/AnimationTest.cpp ('k') | Source/core/animation/DocumentAnimations.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698