summaryrefslogtreecommitdiff
path: root/Source/WebCore/bindings/js/JSExceptionBase.h
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2017-06-27 06:07:23 +0000
commit1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch)
tree46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/bindings/js/JSExceptionBase.h
parent32761a6cee1d0dee366b885b7b9c777e67885688 (diff)
downloadWebKitGtk-tarball-master.tar.gz
Diffstat (limited to 'Source/WebCore/bindings/js/JSExceptionBase.h')
-rw-r--r--Source/WebCore/bindings/js/JSExceptionBase.h12
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