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

Unified Diff: third_party/WebKit/Source/core/fetch/Resource.h

Issue 2220543002: Make Resource::resourceBuffer() to return PassRefPtr<const SharedBuffer> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@WTF_UseIsConvertibleInEnsure
Patch Set: Rebase Created 4 years, 3 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: 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 c36c8c6f00416a20028f998483bd92bc2334475a..38e8589fc89126b805527fb764e81e1ae9d3811a 100644
--- a/third_party/WebKit/Source/core/fetch/Resource.h
+++ b/third_party/WebKit/Source/core/fetch/Resource.h
@@ -184,7 +184,7 @@ public:
bool isEligibleForIntegrityCheck(SecurityOrigin*) const;
- virtual PassRefPtr<SharedBuffer> resourceBuffer() const { return m_data; }
+ virtual PassRefPtr<const SharedBuffer> resourceBuffer() const { return m_data; }
void setResourceBuffer(PassRefPtr<SharedBuffer>);
virtual void willFollowRedirect(ResourceRequest&, const ResourceResponse&);
« no previous file with comments | « third_party/WebKit/Source/core/fetch/ImageResource.cpp ('k') | third_party/WebKit/Source/core/frame/FrameSerializer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698