Chromium Code Reviews| Index: Source/core/loader/DocumentLoader.h |
| diff --git a/Source/core/loader/DocumentLoader.h b/Source/core/loader/DocumentLoader.h |
| index e0220b6f489fa9decc703bedec5478939056f439..284a8d2ee67b879b520c3b55469c60e79ed9a658 100644 |
| --- a/Source/core/loader/DocumentLoader.h |
| +++ b/Source/core/loader/DocumentLoader.h |
| @@ -116,7 +116,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; } |
|
Nate Chapin
2015/02/12 18:14:31
It also makes me sad to need separate const and no
|
| ApplicationCacheHost* applicationCacheHost() const { return m_applicationCacheHost.get(); } |