Bug 1380621 - Change the order of member variables in HTMLMediaElement. r=cpearce

This reduces the size of the object by avoiding memory alignment padding.
This commit is contained in:
Catalin Badea
2017-09-01 12:23:28 +01:00
parent 48c8fdd05c
commit fd46c72e33
2 changed files with 6 additions and 6 deletions

View File

@@ -3816,10 +3816,10 @@ HTMLMediaElement::HTMLMediaElement(already_AddRefed<mozilla::dom::NodeInfo>& aNo
mSrcStreamTracksAvailable(false),
mSrcStreamPausedCurrentTime(-1),
mShutdownObserver(new ShutdownObserver),
mCurrentLoadID(0),
mSourcePointer(nullptr),
mNetworkState(nsIDOMHTMLMediaElement::NETWORK_EMPTY),
mReadyState(nsIDOMHTMLMediaElement::HAVE_NOTHING, "HTMLMediaElement::mReadyState"),
mCurrentLoadID(0),
mLoadWaitStatus(NOT_WAITING),
mVolume(1.0),
mIsAudioTrackAudible(false),