| Index: Source/core/html/MediaController.cpp
|
| diff --git a/Source/core/html/MediaController.cpp b/Source/core/html/MediaController.cpp
|
| index 5d26a40eb9a002ca6f6c872ea2684e60861c2420..96b698dac7b04845795f7f49bc28023fbf93aa54 100644
|
| --- a/Source/core/html/MediaController.cpp
|
| +++ b/Source/core/html/MediaController.cpp
|
| @@ -158,7 +158,7 @@ double MediaController::currentTime() const
|
| return m_position;
|
| }
|
|
|
| -void MediaController::setCurrentTime(double time, ExceptionState& es)
|
| +void MediaController::setCurrentTime(double time, ExceptionState& exceptionState)
|
| {
|
| // When the user agent is to seek the media controller to a particular new playback position,
|
| // it must follow these steps:
|
| @@ -174,7 +174,7 @@ void MediaController::setCurrentTime(double time, ExceptionState& es)
|
|
|
| // Seek each slaved media element to the new playback position relative to the media element timeline.
|
| for (size_t index = 0; index < m_mediaElements.size(); ++index)
|
| - m_mediaElements[index]->seek(time, es);
|
| + m_mediaElements[index]->seek(time, exceptionState);
|
|
|
| scheduleTimeupdateEvent();
|
| }
|
| @@ -252,7 +252,7 @@ void MediaController::setPlaybackRate(double rate)
|
| scheduleEvent(EventTypeNames::ratechange);
|
| }
|
|
|
| -void MediaController::setVolume(double level, ExceptionState& es)
|
| +void MediaController::setVolume(double level, ExceptionState& exceptionState)
|
| {
|
| if (m_volume == level)
|
| return;
|
| @@ -260,7 +260,7 @@ void MediaController::setVolume(double level, ExceptionState& es)
|
| // If the new value is outside the range 0.0 to 1.0 inclusive, then, on setting, an
|
| // IndexSizeError exception must be raised instead.
|
| if (level < 0 || level > 1) {
|
| - es.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(IndexSizeError);
|
| return;
|
| }
|
|
|
|
|