Index: Source/core/xmlhttprequest/XMLHttpRequest.cpp |
diff --git a/Source/core/xmlhttprequest/XMLHttpRequest.cpp b/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
index 973118a51cec20db01d760abc9f6ebe1aeafef8b..36128132640c48073c6fb1068eb1bc2f819d653b 100644 |
--- a/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
+++ b/Source/core/xmlhttprequest/XMLHttpRequest.cpp |
@@ -1578,7 +1578,7 @@ void XMLHttpRequest::didReceiveResponse(unsigned long identifier, const Resource |
// This protection seems needed to keep |this| alive after changeState |
// calling which may call event listeners. |
- RefPtr<XMLHttpRequest> protect(this); |
+ RefPtrWillBeRawPtr<XMLHttpRequest> protect(this); |
changeState(HEADERS_RECEIVED); |
if (m_error) { |
// We need to check for |m_error| because |changeState| may trigger |