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 void
SVGSVGElement::ForceRedraw(ErrorResult& rv) SVGSVGElement::ForceRedraw()
{ {
// no-op // no-op
} }

View File

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

View File

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