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

Unified Diff: third_party/WebKit/Source/platform/exported/WebURLResponsePrivate.h

Issue 2117313002: Remove WebURLResponse::initialize() [revised] (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 5 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/platform/exported/WebURLResponsePrivate.h
diff --git a/third_party/WebKit/Source/platform/exported/WebURLResponsePrivate.h b/third_party/WebKit/Source/platform/exported/WebURLResponsePrivate.h
index 81cb5c0649e665bdd83a4d7fab1230c82061cd3c..fa9382168299dbee9c171eff81f843f147ba7fc5 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponsePrivate.h
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponsePrivate.h
@@ -41,12 +41,12 @@ class ResourceResponse;
class WebURLResponsePrivate {
WTF_MAKE_NONCOPYABLE(WebURLResponsePrivate);
public:
- WebURLResponsePrivate() : m_resourceResponse(0) { }
+ WebURLResponsePrivate() {}
+ virtual ~WebURLResponsePrivate() {}
- // Called by WebURLResponse when it no longer needs this object.
- virtual void dispose() = 0;
-
- ResourceResponse* m_resourceResponse;
+ virtual const ResourceResponse* resourceResponse() const = 0;
+ virtual ResourceResponse* resourceResponse() = 0;
Adam Rice 2016/07/06 01:39:00 I have been assuming that whoever originally wrote
kinuko 2016/07/06 09:45:57 That might be the case (given that WebKit code bas
Adam Rice 2016/07/06 10:06:50 I think makes sense to split out the removal of in
+ virtual void setResourceResponse(const ResourceResponse& response) = 0;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698