| Index: Source/core/html/HTMLDialogElement.cpp
|
| diff --git a/Source/core/html/HTMLDialogElement.cpp b/Source/core/html/HTMLDialogElement.cpp
|
| index eecf2451ade1f104f81d1e05a00ec20f0583fcd1..7b5d8f5b8c2aaa9e48ed9a7b84be3904dcc9f137 100644
|
| --- a/Source/core/html/HTMLDialogElement.cpp
|
| +++ b/Source/core/html/HTMLDialogElement.cpp
|
| @@ -84,10 +84,10 @@ PassRefPtr<HTMLDialogElement> HTMLDialogElement::create(Document& document)
|
| return adoptRef(new HTMLDialogElement(document));
|
| }
|
|
|
| -void HTMLDialogElement::close(const String& returnValue, ExceptionState& es)
|
| +void HTMLDialogElement::close(const String& returnValue, ExceptionState& exceptionState)
|
| {
|
| if (!fastHasAttribute(openAttr)) {
|
| - es.throwUninformativeAndGenericDOMException(InvalidStateError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(InvalidStateError);
|
| return;
|
| }
|
| closeDialog(returnValue);
|
| @@ -126,10 +126,10 @@ void HTMLDialogElement::show()
|
| forceLayoutForCentering();
|
| }
|
|
|
| -void HTMLDialogElement::showModal(ExceptionState& es)
|
| +void HTMLDialogElement::showModal(ExceptionState& exceptionState)
|
| {
|
| if (fastHasAttribute(openAttr) || !inDocument()) {
|
| - es.throwUninformativeAndGenericDOMException(InvalidStateError);
|
| + exceptionState.throwUninformativeAndGenericDOMException(InvalidStateError);
|
| return;
|
| }
|
| document().addToTopLayer(this);
|
|
|