diff options
Diffstat (limited to 'Source/WebCore/bindings/js/JSExceptionBase.h')
-rw-r--r-- | Source/WebCore/bindings/js/JSExceptionBase.h | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/Source/WebCore/bindings/js/JSExceptionBase.h b/Source/WebCore/bindings/js/JSExceptionBase.h index 771300293..d88141e02 100644 --- a/Source/WebCore/bindings/js/JSExceptionBase.h +++ b/Source/WebCore/bindings/js/JSExceptionBase.h @@ -23,21 +23,17 @@ * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifndef JSExceptionBase_h -#define JSExceptionBase_h +#pragma once namespace JSC { - class JSValue; - -} // namespace JSC +class VM; +} namespace WebCore { class ExceptionBase; -ExceptionBase* toExceptionBase(JSC::JSValue); +ExceptionBase* toExceptionBase(JSC::VM&, JSC::JSValue); } // namespace WebCore - -#endif // JSExceptionBase_h |