Bug 1321574 - Remove ASSERT checking if nsWindow::NPZCSupport::SetIsLongpressEnabled is called on Java UI thread. The APZCTreeManager ensures the call is dispatched to correct thread r=esawin

MozReview-Commit-ID: 9lOQY2N5ISc
This commit is contained in:
Randall Barker 2017-06-22 11:53:49 -07:00
parent 4e0049276e
commit 71df028548

View File

@ -430,8 +430,6 @@ public:
public:
void SetIsLongpressEnabled(bool aIsLongpressEnabled)
{
MOZ_ASSERT(AndroidBridge::IsJavaUiThread());
RefPtr<IAPZCTreeManager> controller;
if (LockedWindowPtr window{mWindow}) {