зеркало из https://github.com/mozilla/gecko-dev.git
d75b9ed4bd
Instead of creating a timer and then setting the timer's target, we can determine the timer's target and pass it in directly when the timer is created. This reordering of steps is slightly more efficient, since SetTarget() is both a virtual call and requires locking, both of which can be skipped if we know the target at timer creation time. |
||
---|---|---|
.. | ||
tests | ||
XMLHttpRequest.cpp | ||
XMLHttpRequest.h | ||
XMLHttpRequestEventTarget.cpp | ||
XMLHttpRequestEventTarget.h | ||
XMLHttpRequestMainThread.cpp | ||
XMLHttpRequestMainThread.h | ||
XMLHttpRequestString.cpp | ||
XMLHttpRequestString.h | ||
XMLHttpRequestUpload.cpp | ||
XMLHttpRequestUpload.h | ||
XMLHttpRequestWorker.cpp | ||
XMLHttpRequestWorker.h | ||
moz.build |