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

Unified Diff: Source/core/dom/Document.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/css/CSSAnimations.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/dom/Document.h
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h
index c895725783d710aa74c21a8c291e882ea0cd6c36..961d0c07c9ca3cd72a3c32919362e42eb4149616 100644
--- a/Source/core/dom/Document.h
+++ b/Source/core/dom/Document.h
@@ -1001,8 +1001,8 @@ public:
Locale& getCachedLocale(const AtomicString& locale = nullAtom);
AnimationClock& animationClock() { return *m_animationClock; }
- DocumentTimeline* timeline() const { return m_timeline.get(); }
- DocumentTimeline* transitionTimeline() const { return m_transitionTimeline.get(); }
+ DocumentTimeline& timeline() const { return *m_timeline; }
+ DocumentTimeline& transitionTimeline() const { return *m_transitionTimeline; }
CSSPendingAnimations& cssPendingAnimations() { return m_cssPendingAnimations; }
void addToTopLayer(Element*, const Element* before = 0);
« no previous file with comments | « Source/core/animation/css/CSSAnimations.cpp ('k') | Source/core/dom/Document.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698