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

Unified Diff: third_party/WebKit/Source/core/loader/PingLoader.cpp

Issue 2798393006: Add CHECK in PingLoaderImpl's destructor (Closed)
Patch Set: comment Created 3 years, 8 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/loader/PingLoader.cpp
diff --git a/third_party/WebKit/Source/core/loader/PingLoader.cpp b/third_party/WebKit/Source/core/loader/PingLoader.cpp
index 01744876dd14b1d5f77e5b62281bab1862fc4e3a..2a2af332796772fa06540e9cc3f16a25d08506dc 100644
--- a/third_party/WebKit/Source/core/loader/PingLoader.cpp
+++ b/third_party/WebKit/Source/core/loader/PingLoader.cpp
@@ -281,8 +281,8 @@ PingLoaderImpl::PingLoaderImpl(LocalFrame* frame,
}
PingLoaderImpl::~PingLoaderImpl() {
- if (m_loader)
- m_loader->cancel();
+ // TODO(kinuko): Turn this to DCHECK once crbug.com/662769 is resolved.
+ CHECK(!m_loader);
}
void PingLoaderImpl::dispose() {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698