mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00
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:
parent
43be80fa7a
commit
79fdd8bd67
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -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() {}
|
||||
|
Loading…
x
Reference in New Issue
Block a user