| Index: Source/web/WebNode.cpp
|
| diff --git a/Source/web/WebNode.cpp b/Source/web/WebNode.cpp
|
| index 4434847d3d2a7b4f646da3c3cf67016704d01820..a8450f49506638e2c20f9c33be608e3c5643c8ca 100644
|
| --- a/Source/web/WebNode.cpp
|
| +++ b/Source/web/WebNode.cpp
|
| @@ -197,9 +197,9 @@ WebNodeList WebNode::getElementsByTagName(const WebString& tag) const
|
|
|
| WebElement WebNode::querySelector(const WebString& tag, WebExceptionCode& ec) const
|
| {
|
| - TrackExceptionState es;
|
| - WebElement element(m_private->querySelector(tag, es));
|
| - ec = es.code();
|
| + TrackExceptionState exceptionState;
|
| + WebElement element(m_private->querySelector(tag, exceptionState));
|
| + ec = exceptionState.code();
|
| return element;
|
| }
|
|
|
| @@ -215,9 +215,9 @@ bool WebNode::focused() const
|
|
|
| bool WebNode::remove()
|
| {
|
| - TrackExceptionState es;
|
| - m_private->remove(es);
|
| - return !es.hadException();
|
| + TrackExceptionState exceptionState;
|
| + m_private->remove(exceptionState);
|
| + return !exceptionState.hadException();
|
| }
|
|
|
| bool WebNode::hasNonEmptyBoundingBox() const
|
|
|