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

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

Issue 171333003: Pass implementation object to supplemental classes by reference (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase 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
Index: Source/core/animation/DocumentAnimation.h
diff --git a/Source/core/animation/DocumentAnimation.h b/Source/core/animation/DocumentAnimation.h
index 4591091732addbc22369c5f02c3c32647522e46b..75a9c546a8fd14f6b429be9c39e55bd32c1563f1 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

Powered by Google App Engine
This is Rietveld 408576698