| Index: Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp
|
| diff --git a/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp b/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp
|
| index eee1ada70bdfb03ad628747e8261d5fac086575c..de9dfaf6e5abb00b1d9f31a1bf45566d12941a8b 100644
|
| --- a/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp
|
| +++ b/Source/core/svg/properties/SVGPathSegListPropertyTearOff.cpp
|
| @@ -39,19 +39,19 @@ void SVGPathSegListPropertyTearOff::clearContextAndRoles()
|
| }
|
| }
|
|
|
| -void SVGPathSegListPropertyTearOff::clear(ExceptionState& es)
|
| +void SVGPathSegListPropertyTearOff::clear(ExceptionState& exceptionState)
|
| {
|
| ASSERT(m_values);
|
| if (m_values->isEmpty())
|
| return;
|
|
|
| clearContextAndRoles();
|
| - SVGPathSegListPropertyTearOff::Base::clearValues(es);
|
| + SVGPathSegListPropertyTearOff::Base::clearValues(exceptionState);
|
| }
|
|
|
| -SVGPathSegListPropertyTearOff::PassListItemType SVGPathSegListPropertyTearOff::getItem(unsigned index, ExceptionState& es)
|
| +SVGPathSegListPropertyTearOff::PassListItemType SVGPathSegListPropertyTearOff::getItem(unsigned index, ExceptionState& exceptionState)
|
| {
|
| - ListItemType returnedItem = Base::getItemValues(index, es);
|
| + ListItemType returnedItem = Base::getItemValues(index, exceptionState);
|
| if (returnedItem) {
|
| ASSERT(static_cast<SVGPathSegWithContext*>(returnedItem.get())->contextElement() == contextElement());
|
| ASSERT(static_cast<SVGPathSegWithContext*>(returnedItem.get())->role() == m_pathSegRole);
|
| @@ -59,11 +59,11 @@ SVGPathSegListPropertyTearOff::PassListItemType SVGPathSegListPropertyTearOff::g
|
| return returnedItem.release();
|
| }
|
|
|
| -SVGPathSegListPropertyTearOff::PassListItemType SVGPathSegListPropertyTearOff::replaceItem(PassListItemType passNewItem, unsigned index, ExceptionState& es)
|
| +SVGPathSegListPropertyTearOff::PassListItemType SVGPathSegListPropertyTearOff::replaceItem(PassListItemType passNewItem, unsigned index, ExceptionState& exceptionState)
|
| {
|
| // Not specified, but FF/Opera do it this way, and it's just sane.
|
| if (!passNewItem) {
|
| - es.throwUninformativeAndGenericTypeError();
|
| + exceptionState.throwUninformativeAndGenericTypeError();
|
| return 0;
|
| }
|
|
|
| @@ -74,12 +74,12 @@ SVGPathSegListPropertyTearOff::PassListItemType SVGPathSegListPropertyTearOff::r
|
| }
|
|
|
| ListItemType newItem = passNewItem;
|
| - return Base::replaceItemValues(newItem, index, es);
|
| + return Base::replaceItemValues(newItem, index, exceptionState);
|
| }
|
|
|
| -SVGPathSegListPropertyTearOff::PassListItemType SVGPathSegListPropertyTearOff::removeItem(unsigned index, ExceptionState& es)
|
| +SVGPathSegListPropertyTearOff::PassListItemType SVGPathSegListPropertyTearOff::removeItem(unsigned index, ExceptionState& exceptionState)
|
| {
|
| - SVGPathSegListPropertyTearOff::ListItemType removedItem = SVGPathSegListPropertyTearOff::Base::removeItemValues(index, es);
|
| + SVGPathSegListPropertyTearOff::ListItemType removedItem = SVGPathSegListPropertyTearOff::Base::removeItemValues(index, exceptionState);
|
| if (removedItem)
|
| static_cast<SVGPathSegWithContext*>(removedItem.get())->setContextAndRole(0, PathSegUndefinedRole);
|
| return removedItem.release();
|
|
|