diff --git a/atom/browser/api/trackable_object.h b/atom/browser/api/trackable_object.h index f9225924d053..6fcde898a672 100644 --- a/atom/browser/api/trackable_object.h +++ b/atom/browser/api/trackable_object.h @@ -64,7 +64,7 @@ class TrackableObject : public TrackableObjectBase, void MarkDestroyed() { v8::Local wrapper = Wrappable::GetWrapper(); if (!wrapper.IsEmpty()) { - Wrappable::GetWrapper()->SetAlignedPointerInInternalField(0, nullptr); + wrapper->SetAlignedPointerInInternalField(0, nullptr); } }