2017-10-28 02:10:06 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
|
|
|
/* vim: set ts=8 sts=2 et sw=2 tw=80: */
|
2016-01-08 22:17:39 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
|
|
|
#include "mozilla/layers/RemoteContentController.h"
|
|
|
|
|
|
|
|
#include "base/message_loop.h"
|
|
|
|
#include "base/task.h"
|
|
|
|
#include "MainThreadUtils.h"
|
|
|
|
#include "mozilla/dom/ContentParent.h"
|
|
|
|
#include "mozilla/dom/TabParent.h"
|
2017-08-01 02:15:26 +03:00
|
|
|
#include "mozilla/layers/APZCCallbackHelper.h"
|
2016-09-21 17:26:33 +03:00
|
|
|
#include "mozilla/layers/APZCTreeManagerParent.h" // for APZCTreeManagerParent
|
2016-01-08 22:17:39 +03:00
|
|
|
#include "mozilla/layers/APZThreadUtils.h"
|
|
|
|
#include "mozilla/layout/RenderFrameParent.h"
|
2016-05-23 10:27:51 +03:00
|
|
|
#include "mozilla/gfx/GPUProcessManager.h"
|
2016-08-23 07:09:32 +03:00
|
|
|
#include "mozilla/Unused.h"
|
2016-01-08 22:17:39 +03:00
|
|
|
#include "Units.h"
|
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace layers {
|
|
|
|
|
2016-05-23 10:27:57 +03:00
|
|
|
using namespace mozilla::gfx;
|
|
|
|
|
2016-08-11 02:51:45 +03:00
|
|
|
RemoteContentController::RemoteContentController()
|
2016-08-02 09:59:00 +03:00
|
|
|
: mCompositorThread(MessageLoop::current())
|
|
|
|
, mCanSend(true)
|
2016-01-08 22:17:39 +03:00
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
RemoteContentController::~RemoteContentController()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
RemoteContentController::RequestContentRepaint(const FrameMetrics& aFrameMetrics)
|
|
|
|
{
|
2016-08-02 09:59:00 +03:00
|
|
|
MOZ_ASSERT(IsRepaintThread());
|
|
|
|
|
|
|
|
if (mCanSend) {
|
2016-07-31 22:39:00 +03:00
|
|
|
Unused << SendRequestContentRepaint(aFrameMetrics);
|
2016-01-08 22:17:39 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-10-04 17:41:40 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::HandleTapOnMainThread(TapType aTapType,
|
2016-10-04 23:39:34 +03:00
|
|
|
LayoutDevicePoint aPoint,
|
2016-10-04 17:41:40 +03:00
|
|
|
Modifiers aModifiers,
|
2016-10-04 23:39:34 +03:00
|
|
|
ScrollableLayerGuid aGuid,
|
2016-10-04 17:41:40 +03:00
|
|
|
uint64_t aInputBlockId)
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(NS_IsMainThread());
|
|
|
|
|
|
|
|
dom::TabParent* tab = dom::TabParent::GetTabParentFromLayersId(aGuid.mLayersId);
|
|
|
|
if (tab) {
|
|
|
|
tab->SendHandleTap(aTapType, aPoint, aModifiers, aGuid, aInputBlockId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-15 22:25:11 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::HandleTapOnCompositorThread(TapType aTapType,
|
|
|
|
LayoutDevicePoint aPoint,
|
|
|
|
Modifiers aModifiers,
|
|
|
|
ScrollableLayerGuid aGuid,
|
|
|
|
uint64_t aInputBlockId)
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(XRE_IsGPUProcess());
|
|
|
|
MOZ_ASSERT(MessageLoop::current() == mCompositorThread);
|
|
|
|
|
|
|
|
// The raw pointer to APZCTreeManagerParent is ok here because we are on the
|
|
|
|
// compositor thread.
|
|
|
|
APZCTreeManagerParent* apzctmp =
|
|
|
|
CompositorBridgeParent::GetApzcTreeManagerParentForRoot(aGuid.mLayersId);
|
|
|
|
if (apzctmp) {
|
|
|
|
Unused << apzctmp->SendHandleTap(aTapType, aPoint, aModifiers, aGuid, aInputBlockId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-08 22:17:39 +03:00
|
|
|
void
|
2016-07-05 20:24:54 +03:00
|
|
|
RemoteContentController::HandleTap(TapType aTapType,
|
2016-07-29 21:44:29 +03:00
|
|
|
const LayoutDevicePoint& aPoint,
|
2016-07-05 20:24:54 +03:00
|
|
|
Modifiers aModifiers,
|
|
|
|
const ScrollableLayerGuid& aGuid,
|
|
|
|
uint64_t aInputBlockId)
|
2016-01-08 22:17:39 +03:00
|
|
|
{
|
2016-09-21 17:26:33 +03:00
|
|
|
APZThreadUtils::AssertOnControllerThread();
|
2016-01-08 22:17:39 +03:00
|
|
|
|
2016-09-21 17:26:33 +03:00
|
|
|
if (XRE_GetProcessType() == GeckoProcessType_GPU) {
|
2018-03-15 22:25:11 +03:00
|
|
|
if (MessageLoop::current() == mCompositorThread) {
|
|
|
|
HandleTapOnCompositorThread(aTapType, aPoint, aModifiers, aGuid, aInputBlockId);
|
|
|
|
} else {
|
|
|
|
// We have to send messages from the compositor thread
|
|
|
|
mCompositorThread->PostTask(NewRunnableMethod<TapType,
|
|
|
|
LayoutDevicePoint,
|
|
|
|
Modifiers,
|
|
|
|
ScrollableLayerGuid,
|
|
|
|
uint64_t>(
|
|
|
|
"layers::RemoteContentController::HandleTapOnCompositorThread",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::HandleTapOnCompositorThread,
|
|
|
|
aTapType,
|
|
|
|
aPoint,
|
|
|
|
aModifiers,
|
|
|
|
aGuid,
|
|
|
|
aInputBlockId));
|
2016-09-21 17:26:33 +03:00
|
|
|
}
|
2016-10-04 17:41:40 +03:00
|
|
|
return;
|
2016-01-08 22:17:39 +03:00
|
|
|
}
|
|
|
|
|
2016-10-04 17:41:40 +03:00
|
|
|
MOZ_ASSERT(XRE_IsParentProcess());
|
|
|
|
|
|
|
|
if (NS_IsMainThread()) {
|
|
|
|
HandleTapOnMainThread(aTapType, aPoint, aModifiers, aGuid, aInputBlockId);
|
|
|
|
} else {
|
|
|
|
// We don't want to get the TabParent or call TabParent::SendHandleTap() from a non-main thread (this might happen
|
|
|
|
// on Android, where this is called from the Java UI thread)
|
2017-06-12 22:34:10 +03:00
|
|
|
NS_DispatchToMainThread(NewRunnableMethod<TapType,
|
|
|
|
LayoutDevicePoint,
|
|
|
|
Modifiers,
|
|
|
|
ScrollableLayerGuid,
|
|
|
|
uint64_t>(
|
|
|
|
"layers::RemoteContentController::HandleTapOnMainThread",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::HandleTapOnMainThread,
|
|
|
|
aTapType,
|
|
|
|
aPoint,
|
|
|
|
aModifiers,
|
|
|
|
aGuid,
|
|
|
|
aInputBlockId));
|
2016-01-08 22:17:39 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-15 22:25:11 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::NotifyPinchGestureOnCompositorThread(
|
|
|
|
PinchGestureInput::PinchGestureType aType,
|
|
|
|
const ScrollableLayerGuid& aGuid,
|
|
|
|
LayoutDeviceCoord aSpanChange,
|
|
|
|
Modifiers aModifiers)
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(MessageLoop::current() == mCompositorThread);
|
|
|
|
|
|
|
|
// The raw pointer to APZCTreeManagerParent is ok here because we are on the
|
|
|
|
// compositor thread.
|
|
|
|
APZCTreeManagerParent* apzctmp =
|
|
|
|
CompositorBridgeParent::GetApzcTreeManagerParentForRoot(aGuid.mLayersId);
|
|
|
|
if (apzctmp) {
|
|
|
|
Unused << apzctmp->SendNotifyPinchGesture(aType, aGuid, aSpanChange, aModifiers);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-09-24 16:46:02 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::NotifyPinchGesture(PinchGestureInput::PinchGestureType aType,
|
|
|
|
const ScrollableLayerGuid& aGuid,
|
|
|
|
LayoutDeviceCoord aSpanChange,
|
|
|
|
Modifiers aModifiers)
|
|
|
|
{
|
|
|
|
APZThreadUtils::AssertOnControllerThread();
|
|
|
|
|
|
|
|
// For now we only ever want to handle this NotifyPinchGesture message in
|
|
|
|
// the parent process, even if the APZ is sending it to a content process.
|
|
|
|
|
|
|
|
// If we're in the GPU process, try to find a handle to the parent process
|
|
|
|
// and send it there.
|
|
|
|
if (XRE_IsGPUProcess()) {
|
2018-03-15 22:25:11 +03:00
|
|
|
if (MessageLoop::current() == mCompositorThread) {
|
|
|
|
NotifyPinchGestureOnCompositorThread(aType, aGuid, aSpanChange, aModifiers);
|
|
|
|
} else {
|
|
|
|
mCompositorThread->PostTask(NewRunnableMethod<PinchGestureInput::PinchGestureType,
|
|
|
|
ScrollableLayerGuid,
|
|
|
|
LayoutDeviceCoord,
|
|
|
|
Modifiers>(
|
|
|
|
"layers::RemoteContentController::NotifyPinchGestureOnCompositorThread",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::NotifyPinchGestureOnCompositorThread,
|
|
|
|
aType,
|
|
|
|
aGuid,
|
|
|
|
aSpanChange,
|
|
|
|
aModifiers));
|
2016-09-24 16:46:02 +03:00
|
|
|
}
|
2018-03-15 22:25:11 +03:00
|
|
|
return;
|
2016-09-24 16:46:02 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
// If we're in the parent process, handle it directly. We don't have a handle
|
|
|
|
// to the widget though, so we fish out the ChromeProcessController and
|
|
|
|
// delegate to that instead.
|
|
|
|
if (XRE_IsParentProcess()) {
|
|
|
|
MOZ_ASSERT(NS_IsMainThread());
|
|
|
|
RefPtr<GeckoContentController> rootController =
|
|
|
|
CompositorBridgeParent::GetGeckoContentControllerForRoot(aGuid.mLayersId);
|
|
|
|
if (rootController) {
|
|
|
|
rootController->NotifyPinchGesture(aType, aGuid, aSpanChange, aModifiers);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-08 22:17:39 +03:00
|
|
|
void
|
2016-04-28 03:06:05 +03:00
|
|
|
RemoteContentController::PostDelayedTask(already_AddRefed<Runnable> aTask, int aDelayMs)
|
2016-01-08 22:17:39 +03:00
|
|
|
{
|
2016-08-02 09:59:00 +03:00
|
|
|
(MessageLoop::current() ? MessageLoop::current() : mCompositorThread)->
|
2016-04-28 03:06:05 +03:00
|
|
|
PostDelayedTask(Move(aTask), aDelayMs);
|
2016-01-08 22:17:39 +03:00
|
|
|
}
|
|
|
|
|
2016-08-02 09:59:00 +03:00
|
|
|
bool
|
|
|
|
RemoteContentController::IsRepaintThread()
|
|
|
|
{
|
|
|
|
return MessageLoop::current() == mCompositorThread;
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
RemoteContentController::DispatchToRepaintThread(already_AddRefed<Runnable> aTask)
|
|
|
|
{
|
|
|
|
mCompositorThread->PostTask(Move(aTask));
|
|
|
|
}
|
|
|
|
|
2016-01-08 22:17:39 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::NotifyAPZStateChange(const ScrollableLayerGuid& aGuid,
|
|
|
|
APZStateChange aChange,
|
|
|
|
int aArg)
|
|
|
|
{
|
2016-08-02 09:59:00 +03:00
|
|
|
if (MessageLoop::current() != mCompositorThread) {
|
|
|
|
// We have to send messages from the compositor thread
|
2017-06-12 22:34:10 +03:00
|
|
|
mCompositorThread->PostTask(
|
|
|
|
NewRunnableMethod<ScrollableLayerGuid, APZStateChange, int>(
|
|
|
|
"layers::RemoteContentController::NotifyAPZStateChange",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::NotifyAPZStateChange,
|
|
|
|
aGuid,
|
|
|
|
aChange,
|
|
|
|
aArg));
|
2016-01-08 22:17:39 +03:00
|
|
|
return;
|
|
|
|
}
|
2016-08-02 09:59:00 +03:00
|
|
|
|
|
|
|
if (mCanSend) {
|
2016-08-11 02:51:45 +03:00
|
|
|
Unused << SendNotifyAPZStateChange(aGuid, aChange, aArg);
|
2016-01-08 22:17:39 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-08-11 02:51:45 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::UpdateOverscrollVelocity(float aX, float aY, bool aIsRootContent)
|
|
|
|
{
|
|
|
|
if (MessageLoop::current() != mCompositorThread) {
|
2017-06-12 22:34:10 +03:00
|
|
|
mCompositorThread->PostTask(NewRunnableMethod<float, float, bool>(
|
|
|
|
"layers::RemoteContentController::UpdateOverscrollVelocity",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::UpdateOverscrollVelocity,
|
|
|
|
aX,
|
|
|
|
aY,
|
|
|
|
aIsRootContent));
|
2016-08-11 02:51:45 +03:00
|
|
|
return;
|
|
|
|
}
|
2016-09-21 20:51:23 +03:00
|
|
|
if (mCanSend) {
|
|
|
|
Unused << SendUpdateOverscrollVelocity(aX, aY, aIsRootContent);
|
|
|
|
}
|
2016-08-11 02:51:45 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
RemoteContentController::UpdateOverscrollOffset(float aX, float aY, bool aIsRootContent)
|
|
|
|
{
|
|
|
|
if (MessageLoop::current() != mCompositorThread) {
|
2017-06-12 22:34:10 +03:00
|
|
|
mCompositorThread->PostTask(NewRunnableMethod<float, float, bool>(
|
|
|
|
"layers::RemoteContentController::UpdateOverscrollOffset",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::UpdateOverscrollOffset,
|
|
|
|
aX,
|
|
|
|
aY,
|
|
|
|
aIsRootContent));
|
2016-08-11 02:51:45 +03:00
|
|
|
return;
|
|
|
|
}
|
2016-09-21 20:51:23 +03:00
|
|
|
if (mCanSend) {
|
|
|
|
Unused << SendUpdateOverscrollOffset(aX, aY, aIsRootContent);
|
|
|
|
}
|
2016-08-11 02:51:45 +03:00
|
|
|
}
|
|
|
|
|
2016-01-08 22:17:39 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::NotifyMozMouseScrollEvent(const FrameMetrics::ViewID& aScrollId,
|
|
|
|
const nsString& aEvent)
|
|
|
|
{
|
2016-08-02 09:59:00 +03:00
|
|
|
if (MessageLoop::current() != mCompositorThread) {
|
|
|
|
// We have to send messages from the compositor thread
|
2017-06-12 22:34:10 +03:00
|
|
|
mCompositorThread->PostTask(
|
|
|
|
NewRunnableMethod<FrameMetrics::ViewID, nsString>(
|
|
|
|
"layers::RemoteContentController::NotifyMozMouseScrollEvent",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::NotifyMozMouseScrollEvent,
|
|
|
|
aScrollId,
|
|
|
|
aEvent));
|
2016-01-08 22:17:39 +03:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
2016-08-02 09:59:00 +03:00
|
|
|
if (mCanSend) {
|
2016-08-11 02:51:45 +03:00
|
|
|
Unused << SendNotifyMozMouseScrollEvent(aScrollId, aEvent);
|
2016-01-08 22:17:39 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
RemoteContentController::NotifyFlushComplete()
|
|
|
|
{
|
2016-08-02 09:59:00 +03:00
|
|
|
MOZ_ASSERT(IsRepaintThread());
|
|
|
|
|
|
|
|
if (mCanSend) {
|
2016-01-08 22:17:39 +03:00
|
|
|
Unused << SendNotifyFlushComplete();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-01-28 02:02:22 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::NotifyAsyncScrollbarDragRejected(const FrameMetrics::ViewID& aScrollId)
|
|
|
|
{
|
|
|
|
if (MessageLoop::current() != mCompositorThread) {
|
|
|
|
// We have to send messages from the compositor thread
|
2017-06-12 22:34:10 +03:00
|
|
|
mCompositorThread->PostTask(NewRunnableMethod<FrameMetrics::ViewID>(
|
|
|
|
"layers::RemoteContentController::NotifyAsyncScrollbarDragRejected",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::NotifyAsyncScrollbarDragRejected,
|
|
|
|
aScrollId));
|
2017-01-28 02:02:22 +03:00
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (mCanSend) {
|
|
|
|
Unused << SendNotifyAsyncScrollbarDragRejected(aScrollId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-07-27 02:32:57 +03:00
|
|
|
void
|
2017-10-19 01:18:13 +03:00
|
|
|
RemoteContentController::NotifyAsyncAutoscrollRejected(const FrameMetrics::ViewID& aScrollId)
|
2017-07-27 02:32:57 +03:00
|
|
|
{
|
|
|
|
if (MessageLoop::current() != mCompositorThread) {
|
|
|
|
// We have to send messages from the compositor thread
|
|
|
|
mCompositorThread->PostTask(NewRunnableMethod<FrameMetrics::ViewID>(
|
2017-10-19 01:18:13 +03:00
|
|
|
"layers::RemoteContentController::NotifyAsyncAutoscrollRejected",
|
2017-07-27 02:32:57 +03:00
|
|
|
this,
|
2017-10-19 01:18:13 +03:00
|
|
|
&RemoteContentController::NotifyAsyncAutoscrollRejected,
|
2017-07-27 02:32:57 +03:00
|
|
|
aScrollId));
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
if (mCanSend) {
|
2017-10-19 01:18:13 +03:00
|
|
|
Unused << SendNotifyAsyncAutoscrollRejected(aScrollId);
|
2017-07-27 02:32:57 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-01 02:15:26 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::CancelAutoscroll(const ScrollableLayerGuid& aGuid)
|
|
|
|
{
|
|
|
|
if (XRE_GetProcessType() == GeckoProcessType_GPU) {
|
|
|
|
CancelAutoscrollCrossProcess(aGuid);
|
|
|
|
} else {
|
|
|
|
CancelAutoscrollInProcess(aGuid);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
RemoteContentController::CancelAutoscrollInProcess(const ScrollableLayerGuid& aGuid)
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(XRE_IsParentProcess());
|
|
|
|
|
|
|
|
if (!NS_IsMainThread()) {
|
|
|
|
NS_DispatchToMainThread(NewRunnableMethod<ScrollableLayerGuid>(
|
|
|
|
"layers::RemoteContentController::CancelAutoscrollInProcess",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::CancelAutoscrollInProcess,
|
|
|
|
aGuid));
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
APZCCallbackHelper::CancelAutoscroll(aGuid.mScrollId);
|
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
RemoteContentController::CancelAutoscrollCrossProcess(const ScrollableLayerGuid& aGuid)
|
|
|
|
{
|
|
|
|
MOZ_ASSERT(XRE_IsGPUProcess());
|
|
|
|
|
|
|
|
if (MessageLoop::current() != mCompositorThread) {
|
|
|
|
mCompositorThread->PostTask(NewRunnableMethod<ScrollableLayerGuid>(
|
|
|
|
"layers::RemoteContentController::CancelAutoscrollCrossProcess",
|
|
|
|
this,
|
|
|
|
&RemoteContentController::CancelAutoscrollCrossProcess,
|
|
|
|
aGuid));
|
|
|
|
return;
|
|
|
|
}
|
|
|
|
|
|
|
|
// The raw pointer to APZCTreeManagerParent is ok here because we are on the
|
|
|
|
// compositor thread.
|
|
|
|
if (APZCTreeManagerParent* parent =
|
|
|
|
CompositorBridgeParent::GetApzcTreeManagerParentForRoot(aGuid.mLayersId)) {
|
|
|
|
Unused << parent->SendCancelAutoscroll(aGuid.mScrollId);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-01-08 22:17:39 +03:00
|
|
|
void
|
|
|
|
RemoteContentController::ActorDestroy(ActorDestroyReason aWhy)
|
|
|
|
{
|
2016-08-22 03:43:08 +03:00
|
|
|
// This controller could possibly be kept alive longer after this
|
|
|
|
// by a RefPtr, but it is no longer valid to send messages.
|
2016-08-02 09:59:00 +03:00
|
|
|
mCanSend = false;
|
2016-01-08 22:17:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
void
|
|
|
|
RemoteContentController::Destroy()
|
|
|
|
{
|
2016-08-02 09:59:00 +03:00
|
|
|
if (mCanSend) {
|
2016-09-21 20:51:21 +03:00
|
|
|
mCanSend = false;
|
2016-08-02 09:59:00 +03:00
|
|
|
Unused << SendDestroy();
|
|
|
|
}
|
2016-01-08 22:17:39 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
} // namespace layers
|
|
|
|
} // namespace mozilla
|