Bug 1125201 - Make forceRedraw nothrow. r=bzbarsky

This commit is contained in:
Robert Longson 2015-01-24 09:35:22 +00:00
parent ad52d0dd56
commit c9538ab223
3 changed files with 6 additions and 3 deletions

View File

@ -305,7 +305,7 @@ SVGSVGElement::UnsuspendRedrawAll()
}
void
SVGSVGElement::ForceRedraw(ErrorResult& rv)
SVGSVGElement::ForceRedraw()
{
// no-op
}

View File

@ -246,7 +246,7 @@ public:
uint32_t SuspendRedraw(uint32_t max_wait_milliseconds);
void UnsuspendRedraw(uint32_t suspend_handle_id);
void UnsuspendRedrawAll();
void ForceRedraw(ErrorResult& rv);
void ForceRedraw();
void PauseAnimations();
void UnpauseAnimations();
bool AnimationsPaused();

View File

@ -28,10 +28,13 @@ interface SVGSVGElement : SVGGraphicsElement {
attribute float currentScale;
readonly attribute SVGPoint currentTranslate;
[DependsOn=Nothing, Affects=Nothing]
unsigned long suspendRedraw(unsigned long maxWaitMilliseconds);
[DependsOn=Nothing, Affects=Nothing]
void unsuspendRedraw(unsigned long suspendHandleID);
[DependsOn=Nothing, Affects=Nothing]
void unsuspendRedrawAll();
[Throws]
[DependsOn=Nothing, Affects=Nothing]
void forceRedraw();
void pauseAnimations();
void unpauseAnimations();