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

Unified Diff: Source/core/xml/XMLHttpRequest.h

Issue 16284009: Don't deref XMLHttpRequest synchronously below stop() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 6 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 | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/xml/XMLHttpRequest.h
diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
index 4767d7664980514bd9538f753cd28fc44824bd2a..f97ae501416c7d15a727d6d7fe27ecddfc5cf2e6 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -181,7 +181,8 @@ private:
void changeState(State newState);
void callReadyStateChangeListener();
- void dropProtection();
+ void dropProtectionSoon();
+ void dropProtection(Timer<XMLHttpRequest>* = 0);
void internalAbort();
void clearResponse();
void clearResponseBuffers();
@@ -243,7 +244,7 @@ private:
// An enum corresponding to the allowed string values for the responseType attribute.
ResponseTypeCode m_responseTypeCode;
-
+ Timer<XMLHttpRequest> m_protectionTimer;
RefPtr<SecurityOrigin> m_securityOrigin;
};
« no previous file with comments | « no previous file | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698