зеркало из https://github.com/mozilla/pjs.git
Bug 525946 - White spaces at EOL in nsMediaDecoder.cpp. r=chris.double
--HG-- extra : rebase_source : 2982e3ee884d34b365256df901ae02055bee1765
This commit is contained in:
Родитель
81bba673b0
Коммит
ac19c3d6cb
|
@ -122,7 +122,7 @@ void nsMediaDecoder::Invalidate()
|
|||
return;
|
||||
|
||||
nsIFrame* frame = mElement->GetPrimaryFrame();
|
||||
|
||||
|
||||
{
|
||||
nsAutoLock lock(mVideoUpdateLock);
|
||||
if (mSizeChanged) {
|
||||
|
@ -142,9 +142,9 @@ void nsMediaDecoder::Invalidate()
|
|||
|
||||
mSizeChanged = PR_FALSE;
|
||||
if (frame) {
|
||||
nsPresContext* presContext = frame->PresContext();
|
||||
nsPresContext* presContext = frame->PresContext();
|
||||
nsIPresShell *presShell = presContext->PresShell();
|
||||
presShell->FrameNeedsReflow(frame,
|
||||
presShell->FrameNeedsReflow(frame,
|
||||
nsIPresShell::eStyleChange,
|
||||
NS_FRAME_IS_DIRTY);
|
||||
}
|
||||
|
@ -199,7 +199,7 @@ nsresult nsMediaDecoder::StartProgress()
|
|||
|
||||
mProgressTimer = do_CreateInstance("@mozilla.org/timer;1");
|
||||
return mProgressTimer->InitWithFuncCallback(ProgressCallback,
|
||||
this,
|
||||
this,
|
||||
PROGRESS_MS,
|
||||
nsITimer::TYPE_REPEATING_SLACK);
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче