| Index: Source/web/WebElement.cpp
|
| diff --git a/Source/web/WebElement.cpp b/Source/web/WebElement.cpp
|
| index 7497946ecb6e3fb00ae09193f05bdc10ac4e5f73..1fac295b3eadad7cf3a5516c2f668103163fb15f 100644
|
| --- a/Source/web/WebElement.cpp
|
| +++ b/Source/web/WebElement.cpp
|
| @@ -101,9 +101,9 @@ bool WebElement::setAttribute(const WebString& attrName, const WebString& attrVa
|
| // TODO: Custom element callbacks need to be called on WebKit API methods that
|
| // mutate the DOM in any way.
|
| CustomElementCallbackDispatcher::CallbackDeliveryScope deliverCustomElementCallbacks;
|
| - TrackExceptionState es;
|
| - unwrap<Element>()->setAttribute(attrName, attrValue, es);
|
| - return !es.hadException();
|
| + TrackExceptionState exceptionState;
|
| + unwrap<Element>()->setAttribute(attrName, attrValue, exceptionState);
|
| + return !exceptionState.hadException();
|
| }
|
|
|
| unsigned WebElement::attributeCount() const
|
|
|