Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
A small style fix for EmbedContentController
  • Loading branch information
rainemak committed Apr 5, 2019
1 parent 4d92b3b commit 24dc4c3
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions embedding/embedlite/embedthread/EmbedContentController.cpp
Expand Up @@ -34,7 +34,7 @@ void EmbedContentController::RequestContentRepaint(const FrameMetrics& aFrameMet
// requests may get processed out of order.
LOGT();
mUILoop->PostTask(
FROM_HERE,
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::DoRequestContentRepaint, aFrameMetrics));
}

Expand All @@ -54,8 +54,8 @@ void EmbedContentController::HandleDoubleTap(const CSSPoint& aPoint,
// We have to send this message from the "UI thread" (main
// thread).
mUILoop->PostTask(
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::HandleDoubleTap, aPoint, aModifiers, aGuid));
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::HandleDoubleTap, aPoint, aModifiers, aGuid));
return;
}
if (mRenderFrame && !GetListener()->HandleDoubleTap(nsIntPoint(aPoint.x, aPoint.y))) {
Expand All @@ -71,8 +71,8 @@ void EmbedContentController::HandleSingleTap(const CSSPoint& aPoint,
// We have to send this message from the "UI thread" (main
// thread).
mUILoop->PostTask(
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::HandleSingleTap, aPoint, aModifiers, aGuid));
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::HandleSingleTap, aPoint, aModifiers, aGuid));
return;
}
if (mRenderFrame && !GetListener()->HandleSingleTap(nsIntPoint(aPoint.x, aPoint.y))) {
Expand All @@ -89,8 +89,8 @@ void EmbedContentController::HandleLongTap(const CSSPoint& aPoint,
// We have to send this message from the "UI thread" (main
// thread).
mUILoop->PostTask(
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::HandleLongTap, aPoint, aModifiers, aGuid, aInputBlockId));
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::HandleLongTap, aPoint, aModifiers, aGuid, aInputBlockId));
return;
}
if (mRenderFrame && !GetListener()->HandleLongTap(nsIntPoint(aPoint.x, aPoint.y))) {
Expand All @@ -110,8 +110,8 @@ void EmbedContentController::DoSendScrollEvent(const FrameMetrics &aFrameMetrics
// We have to send this message from the "UI thread" (main
// thread).
mUILoop->PostTask(
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::DoSendScrollEvent, aFrameMetrics));
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::DoSendScrollEvent, aFrameMetrics));
return;
}

Expand Down Expand Up @@ -157,8 +157,8 @@ void EmbedContentController::AcknowledgeScrollUpdate(const FrameMetrics::ViewID&
// We have to send this message from the "UI thread" (main
// thread).
mUILoop->PostTask(
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::AcknowledgeScrollUpdate, aScrollId, aScrollGeneration));
FROM_HERE,
NewRunnableMethod(this, &EmbedContentController::AcknowledgeScrollUpdate, aScrollId, aScrollGeneration));
return;
}
if (mRenderFrame && !GetListener()->AcknowledgeScrollUpdate((uint32_t)aScrollId, aScrollGeneration)) {
Expand Down

0 comments on commit 24dc4c3

Please sign in to comment.