diff --git a/embedding/embedlite/embedthread/EmbedContentController.cpp b/embedding/embedlite/embedthread/EmbedContentController.cpp index 95dd7afb0c61a..343631ee97c43 100644 --- a/embedding/embedlite/embedthread/EmbedContentController.cpp +++ b/embedding/embedlite/embedthread/EmbedContentController.cpp @@ -155,6 +155,10 @@ void EmbedContentController::HandleLongTap(const LayoutDevicePoint aPoint, */ void EmbedContentController::DoSendScrollEvent(const layers::RepaintRequest aRequest) { + if (!aRequest.IsRootContent()) { + return; + } + if (MessageLoop::current() != mUILoop) { // We have to send this message from the "UI thread" (main // thread).