Index: Source/core/dom/Document.h |
diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
index c895725783d710aa74c21a8c291e882ea0cd6c36..0f2147940f74b4c61813ad4f781a9edf2f14df02 100644 |
--- a/Source/core/dom/Document.h |
+++ b/Source/core/dom/Document.h |
@@ -929,7 +929,7 @@ public: |
PassRefPtr<Touch> createTouch(DOMWindow*, EventTarget*, int identifier, int pageX, int pageY, int screenX, int screenY, int radiusX, int radiusY, float rotationAngle, float force) const; |
PassRefPtr<TouchList> createTouchList(Vector<RefPtr<Touch> >&) const; |
- const DocumentTiming* timing() const { return &m_documentTiming; } |
+ const DocumentTiming& timing() const { return m_documentTiming; } |
int requestAnimationFrame(PassOwnPtr<RequestAnimationFrameCallback>); |
void cancelAnimationFrame(int id); |
@@ -986,8 +986,8 @@ public: |
void incrementActiveParserCount() { ++m_activeParserCount; } |
void decrementActiveParserCount(); |
- void setContextFeatures(PassRefPtr<ContextFeatures>); |
- ContextFeatures* contextFeatures() const { return m_contextFeatures.get(); } |
+ void setContextFeatures(ContextFeatures&); |
+ ContextFeatures& contextFeatures() const { return *m_contextFeatures; } |
ElementDataCache* elementDataCache() { return m_elementDataCache.get(); } |