Bug 1528600 - widget/cocoa: Remove empty function EnsureLogInitialized(). r=mstange

widget/cocoa/nsChildView.mm:249:6 [-Wmissing-prototypes] no previous prototype for function 'EnsureLogInitialized'

Depends on D20087

Differential Revision: https://phabricator.services.mozilla.com/D20088

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Chris Peterson 2019-02-17 16:10:57 +00:00
parent 43be80fa7a
commit 79fdd8bd67
3 changed files with 0 additions and 9 deletions

View File

@ -251,8 +251,6 @@ static inline void FlipCocoaScreenCoordinate(NSPoint& inPoint) {
inPoint.y = nsCocoaUtils::FlippedScreenY(inPoint.y);
}
void EnsureLogInitialized() {}
namespace {
// Used for OpenGL drawing from the compositor thread for OMTC BasicLayers.
@ -337,7 +335,6 @@ nsChildView::nsChildView()
mIsDispatchPaint(false),
mPluginFocused{false},
mCurrentPanGestureBelongsToSwipe{false} {
EnsureLogInitialized();
}
nsChildView::~nsChildView() {

View File

@ -30,8 +30,6 @@ using mozilla::LogLevel;
extern mozilla::LazyLogModule sCocoaLog;
extern void EnsureLogInitialized();
mozilla::StaticRefPtr<nsITransferable> nsClipboard::sSelectionCache;
@implementation UTIHelper
@ -62,7 +60,6 @@ mozilla::StaticRefPtr<nsITransferable> nsClipboard::sSelectionCache;
nsClipboard::nsClipboard()
: mCachedClipboard(-1), mChangeCount(0), mIgnoreEmptyNotification(false) {
EnsureLogInitialized();
}
nsClipboard::~nsClipboard() {

View File

@ -36,8 +36,6 @@ using namespace mozilla::gfx;
extern mozilla::LazyLogModule sCocoaLog;
extern void EnsureLogInitialized();
extern NSPasteboard* globalDragPboard;
extern ChildView* gLastDragView;
extern NSEvent* gLastDragMouseDownEvent;
@ -56,7 +54,6 @@ NSString* const kMozFileUrlsPboardType = @"org.mozilla.file-urls";
nsDragService::nsDragService()
: mNativeDragView(nil), mNativeDragEvent(nil), mDragImageChanged(false) {
EnsureLogInitialized();
}
nsDragService::~nsDragService() {}