Bug 918273 - Pass back the target scrollable layer id from apzc event methods. r=kats

This commit is contained in:
Jim Mathies
2013-11-10 10:43:17 -06:00
parent 1ec9be0904
commit 03ba649a43
6 changed files with 60 additions and 14 deletions

View File

@@ -877,7 +877,7 @@ Java_org_mozilla_gecko_gfx_NativePanZoomController_handleTouchEvent(JNIEnv* env,
const MultiTouchInput& input = wrapper->MakeMultiTouchInput(nsWindow::TopWindow());
delete wrapper;
if (input.mType >= 0) {
controller->ReceiveInputEvent(input);
controller->ReceiveInputEvent(input, nullptr);
}
}
}