Index: Source/core/loader/DocumentLoader.h |
diff --git a/Source/core/loader/DocumentLoader.h b/Source/core/loader/DocumentLoader.h |
index 37e18f1c7e3f9b4fd39dc25df97ed177484be52c..fd1fe7faea37b2450d5af11f13f15e2051eff02b 100644 |
--- a/Source/core/loader/DocumentLoader.h |
+++ b/Source/core/loader/DocumentLoader.h |
@@ -113,7 +113,8 @@ namespace blink { |
void attachThreadedDataReceiver(PassRefPtrWillBeRawPtr<ThreadedDataReceiver>); |
void acceptDataFromThreadedReceiver(const char* data, int dataLength, int encodedDataLength); |
- DocumentLoadTiming* timing() { return &m_documentLoadTiming; } |
+ DocumentLoadTiming& timing() { return m_documentLoadTiming; } |
+ const DocumentLoadTiming& timing() const { return m_documentLoadTiming; } |
ApplicationCacheHost* applicationCacheHost() const { return m_applicationCacheHost.get(); } |