Remove duplicate comment from ManualConstructors.cpp
I was reading through this, got pretty confused until I realized this comment was simply copied from above and has nothing to do with the block of code underneath it.
This is an imported pull request from
https://github.com/google/dawn/pull/48
GITHUB_PR_HEAD_SHA=f2f9adf78d865d90150bda965e4979c56a78289c
ORIGINAL_AUTHOR=Kræn Hansen <mail@kraenhansen.dk>
GitOrigin-RevId: 60b6338f2bb964127338e44effead05ce080884d
Change-Id: I3f22e8ddf0eb08fa311b1d9f41ff5e474682c846
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/267674
Commit-Queue: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Gregg Tavares <gman@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
diff --git a/src/dawn/node/ManualConstructors.cpp b/src/dawn/node/ManualConstructors.cpp
index 8cd2494..c977e00 100644
--- a/src/dawn/node/ManualConstructors.cpp
+++ b/src/dawn/node/ManualConstructors.cpp
@@ -57,9 +57,6 @@
// Lookup the EventTarget class
EventTarget_ctor = Napi::Persistent(global.Get("EventTarget").As<Napi::Function>());
- // Define GPUUncapturedErrorEvent as a JavaScript object because it
- // must inherit from Event otherwise it can not be passed to an EventTarget
- // and this is apparently impossible in Napi if it's a C++ based object.
// We have to pass in the DOMException constructor from above so we first
// generate a function we can pass it to using RunScript. We then call
// that function and pass in the DOMException constructor so we can