From 887c196e5bbb63ce2d4591d7997ea9b748a747b7 Mon Sep 17 00:00:00 2001 From: Karl Tomlinson Date: Tue, 18 Sep 2018 09:32:11 +0000 Subject: [PATCH] Bug 1492014 remove unused Console::GetParentObject() r=baku WebIDL bindings do not need this method because console is a namespace. All methods are static. Depends on D6104 Differential Revision: https://phabricator.services.mozilla.com/D6105 --- dom/console/Console.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/dom/console/Console.h b/dom/console/Console.h index 8774a7fc3b6d..4dd74e422044 100644 --- a/dom/console/Console.h +++ b/dom/console/Console.h @@ -48,12 +48,6 @@ public: CreateForWorklet(JSContext* aCx, uint64_t aOuterWindowID, uint64_t aInnerWindowID, ErrorResult& aRv); - // WebIDL methods - nsPIDOMWindowInner* GetParentObject() const - { - return mWindow; - } - static void Log(const GlobalObject& aGlobal, const Sequence& aData);