| Index: Source/core/html/HTMLVideoElement.cpp
|
| diff --git a/Source/core/html/HTMLVideoElement.cpp b/Source/core/html/HTMLVideoElement.cpp
|
| index 83eb6fe37e79ff2a71a72f7914f7b5b83b166a22..bbdf46bf1c6aa4120558e8cd1efb7bf213c3d43c 100644
|
| --- a/Source/core/html/HTMLVideoElement.cpp
|
| +++ b/Source/core/html/HTMLVideoElement.cpp
|
| @@ -227,7 +227,7 @@ void HTMLVideoElement::webkitEnterFullscreen(ExceptionCode& ec)
|
| // Generate an exception if this isn't called in response to a user gesture, or if the
|
| // element does not support fullscreen.
|
| if ((userGestureRequiredForFullscreen() && !ScriptController::processingUserGesture()) || !supportsFullscreen()) {
|
| - ec = INVALID_STATE_ERR;
|
| + ec = InvalidStateError;
|
| return;
|
| }
|
|
|
|
|