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

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: cleanups 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..1f068fa18c8c15d42c5905eeb72019bd9ae71bf3 100644
--- a/third_party/WebKit/Source/platform/exported/WebURLResponsePrivate.h
+++ b/third_party/WebKit/Source/platform/exported/WebURLResponsePrivate.h
@@ -41,10 +41,8 @@ class ResourceResponse;
class WebURLResponsePrivate {
WTF_MAKE_NONCOPYABLE(WebURLResponsePrivate);
public:
- WebURLResponsePrivate() : m_resourceResponse(0) { }
-
- // Called by WebURLResponse when it no longer needs this object.
- virtual void dispose() = 0;
+ WebURLResponsePrivate() : m_resourceResponse(nullptr) {}
+ virtual ~WebURLResponsePrivate() {}
ResourceResponse* m_resourceResponse;
};

Powered by Google App Engine
This is Rietveld 408576698