mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-08 19:04:45 +00:00
Bug 1310399 - Fix -Wshadow warning in widget/nsBaseWidget.cpp. r=jimm
widget/nsBaseWidget.cpp:1970:14 [-Wshadow] declaration shadows a local variable
This commit is contained in:
parent
403c55a07b
commit
e78e23c03d
@ -284,6 +284,3 @@ if CONFIG['MOZ_ENABLE_D3D10_LAYER']:
|
||||
DEFINES['MOZ_ENABLE_D3D10_LAYER'] = True
|
||||
|
||||
CXXFLAGS += CONFIG['TK_CFLAGS']
|
||||
|
||||
if CONFIG['GNU_CXX']:
|
||||
CXXFLAGS += ['-Wno-error=shadow']
|
||||
|
@ -1967,9 +1967,8 @@ nsIWidget::SynthesizeNativeTouchTap(LayoutDeviceIntPoint aPoint, bool aLongTap,
|
||||
}
|
||||
|
||||
if (!aLongTap) {
|
||||
nsresult rv = SynthesizeNativeTouchPoint(pointerId, TOUCH_REMOVE,
|
||||
return SynthesizeNativeTouchPoint(pointerId, TOUCH_REMOVE,
|
||||
aPoint, 0, 0, nullptr);
|
||||
return rv;
|
||||
}
|
||||
|
||||
// initiate a long tap
|
||||
|
Loading…
Reference in New Issue
Block a user