| Index: Source/core/xml/XMLHttpRequest.h
|
| diff --git a/Source/core/xml/XMLHttpRequest.h b/Source/core/xml/XMLHttpRequest.h
|
| index 29efa0d260660a50c423460c8133a7b9c600f84e..f2a689497ff16ae3cd4e6b43f69e1a59be10382b 100644
|
| --- a/Source/core/xml/XMLHttpRequest.h
|
| +++ b/Source/core/xml/XMLHttpRequest.h
|
| @@ -30,6 +30,7 @@
|
| #include "core/loader/ThreadableLoaderClient.h"
|
| #include "core/xml/XMLHttpRequestEventTarget.h"
|
| #include "core/xml/XMLHttpRequestProgressEventThrottle.h"
|
| +#include "platform/AsyncMethodRunner.h"
|
| #include "platform/network/FormData.h"
|
| #include "platform/network/ResourceResponse.h"
|
| #include "weborigin/SecurityOrigin.h"
|
| @@ -172,7 +173,7 @@ private:
|
| void dispatchReadyStateChangeEvent();
|
|
|
| void dropProtectionSoon();
|
| - void dropProtection(Timer<XMLHttpRequest>* = 0);
|
| + void dropProtection();
|
| // Clears variables used only while the resource is being loaded.
|
| void clearVariablesForLoading();
|
| // Returns false iff reentry happened and a new load is started.
|
| @@ -249,7 +250,7 @@ private:
|
|
|
| // An enum corresponding to the allowed string values for the responseType attribute.
|
| ResponseTypeCode m_responseTypeCode;
|
| - Timer<XMLHttpRequest> m_protectionTimer;
|
| + AsyncMethodRunner<XMLHttpRequest> m_dropProtectionRunner;
|
| RefPtr<SecurityOrigin> m_securityOrigin;
|
| };
|
|
|
|
|