Index: third_party/WebKit/Source/core/fetch/Resource.h |
diff --git a/third_party/WebKit/Source/core/fetch/Resource.h b/third_party/WebKit/Source/core/fetch/Resource.h |
index aa38dcd8db673802763783fb5706cc9a8d7ce5ff..471249d76b8b0c592d62abc1705f79024817585b 100644 |
--- a/third_party/WebKit/Source/core/fetch/Resource.h |
+++ b/third_party/WebKit/Source/core/fetch/Resource.h |
@@ -294,7 +294,8 @@ protected: |
void setCachePolicyBypassingCache(); |
void setLoFiStateOff(); |
- RefPtr<SharedBuffer> m_data; |
+ SharedBuffer* data() const { return m_data.get(); } |
+ void clearData() { m_data.clear(); } |
private: |
class ResourceCallback; |
@@ -360,6 +361,8 @@ private: |
ResourceRequest m_resourceRequest; |
Member<ResourceLoader> m_loader; |
ResourceResponse m_response; |
+ |
+ RefPtr<SharedBuffer> m_data; |
}; |
class ResourceFactory { |