diff options
-rw-r--r-- | Libraries/LibJS/Runtime/Date.cpp | 1 | ||||
-rw-r--r-- | Libraries/LibJS/Runtime/Error.cpp | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/Libraries/LibJS/Runtime/Date.cpp b/Libraries/LibJS/Runtime/Date.cpp index 6b22c98fdf..49ea57cb61 100644 --- a/Libraries/LibJS/Runtime/Date.cpp +++ b/Libraries/LibJS/Runtime/Date.cpp @@ -42,7 +42,6 @@ Date::Date(Core::DateTime datetime, u16 milliseconds, Object& prototype) , m_datetime(datetime) , m_milliseconds(milliseconds) { - set_prototype(&prototype); } Date::~Date() diff --git a/Libraries/LibJS/Runtime/Error.cpp b/Libraries/LibJS/Runtime/Error.cpp index 1d2b32fd3c..1c6439ab19 100644 --- a/Libraries/LibJS/Runtime/Error.cpp +++ b/Libraries/LibJS/Runtime/Error.cpp @@ -41,7 +41,6 @@ Error::Error(const FlyString& name, const String& message, Object& prototype) , m_name(name) , m_message(message) { - set_prototype(&prototype); } Error::~Error() |