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

Unified Diff: Source/core/loader/PingLoader.h

Issue 773173002: Have PingLoader gracefully self-dispose. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: clear m_loader on initial cancellation Created 6 years 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
« no previous file with comments | « no previous file | Source/core/loader/PingLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/loader/PingLoader.h
diff --git a/Source/core/loader/PingLoader.h b/Source/core/loader/PingLoader.h
index 0f4f3372f24e5f983855a69e6e8285d548d3b32b..18c7b0cd84fb4c4d09c7c442f9c9e64496a56bd6 100644
--- a/Source/core/loader/PingLoader.h
+++ b/Source/core/loader/PingLoader.h
@@ -88,6 +88,8 @@ private:
void didFailLoading(Page*);
+ void dispose();
+
OwnPtr<blink::WebURLLoader> m_loader;
Timer<PingLoader> m_timeout;
String m_url;
« no previous file with comments | « no previous file | Source/core/loader/PingLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698