| Index: Source/core/css/MediaList.cpp
|
| diff --git a/Source/core/css/MediaList.cpp b/Source/core/css/MediaList.cpp
|
| index 00a30e770d84de562c19c1a9ec73d9814f8f9e29..23fd56bf845e001f124e81d4fd62d0f8e41704e8 100644
|
| --- a/Source/core/css/MediaList.cpp
|
| +++ b/Source/core/css/MediaList.cpp
|
| @@ -196,26 +196,26 @@ String MediaList::item(unsigned index) const
|
| return String();
|
| }
|
|
|
| -void MediaList::deleteMedium(const String& medium, ExceptionState& es)
|
| +void MediaList::deleteMedium(const String& medium, ExceptionState& exceptionState)
|
| {
|
| CSSStyleSheet::RuleMutationScope mutationScope(m_parentRule);
|
|
|
| bool success = m_mediaQueries->remove(medium);
|
| if (!success) {
|
| - es.throwUninformativeAndGenericDOMException(NotFoundError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(NotFoundError);
|
| return;
|
| }
|
| if (m_parentStyleSheet)
|
| m_parentStyleSheet->didMutate();
|
| }
|
|
|
| -void MediaList::appendMedium(const String& medium, ExceptionState& es)
|
| +void MediaList::appendMedium(const String& medium, ExceptionState& exceptionState)
|
| {
|
| CSSStyleSheet::RuleMutationScope mutationScope(m_parentRule);
|
|
|
| bool success = m_mediaQueries->add(medium);
|
| if (!success) {
|
| - es.throwUninformativeAndGenericDOMException(InvalidCharacterError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(InvalidCharacterError);
|
| return;
|
| }
|
|
|
|
|