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

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

Issue 21735005: Use "int" instead of "long" for bindings where the WebIDL uses "long". (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 | « Source/core/html/track/TextTrackRegion.cpp ('k') | 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 8f3bc2a0de0bedc1ae4cf346468155e4de5d5620..3ded7b57ae6a1c9f51ca1f25899f90cc29d14c83 100644
--- a/Source/core/xml/XMLHttpRequest.h
+++ b/Source/core/xml/XMLHttpRequest.h
@@ -106,8 +106,8 @@ public:
ScriptString responseText(ExceptionCode&);
Document* responseXML(ExceptionCode&);
Blob* responseBlob(ExceptionCode&);
- unsigned long timeout() const { return m_timeoutMilliseconds; }
- void setTimeout(unsigned long timeout, ExceptionCode&);
+ unsigned timeout() const { return m_timeoutMilliseconds; }
+ void setTimeout(unsigned timeout, ExceptionCode&);
void sendForInspectorXHRReplay(PassRefPtr<FormData>, ExceptionCode&);
@@ -193,7 +193,7 @@ private:
String m_mimeTypeOverride;
bool m_async;
bool m_includeCredentials;
- unsigned long m_timeoutMilliseconds;
+ unsigned m_timeoutMilliseconds;
RefPtr<Blob> m_responseBlob;
RefPtr<ThreadableLoader> m_loader;
« no previous file with comments | « Source/core/html/track/TextTrackRegion.cpp ('k') | Source/core/xml/XMLHttpRequest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698