mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
Bug 1851195 - Remove PContent::DeviceReset. r=gfx-reviewers,bradwerth a=pascalc
This IPC message is never used. about:support runs in the parent process, and test_device_reset.html is a mochitest chrome, so it also runs in the parent process. Differential Revision: https://phabricator.services.mozilla.com/D187292
This commit is contained in:
parent
a2f3df8291
commit
431dd513b9
@ -4287,10 +4287,8 @@ nsDOMWindowUtils::LeaveChaosMode() {
|
|||||||
|
|
||||||
NS_IMETHODIMP
|
NS_IMETHODIMP
|
||||||
nsDOMWindowUtils::TriggerDeviceReset() {
|
nsDOMWindowUtils::TriggerDeviceReset() {
|
||||||
ContentChild* cc = ContentChild::GetSingleton();
|
if (!XRE_IsParentProcess()) {
|
||||||
if (cc) {
|
return NS_ERROR_NOT_AVAILABLE;
|
||||||
cc->SendDeviceReset();
|
|
||||||
return NS_OK;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
GPUProcessManager* pm = GPUProcessManager::Get();
|
GPUProcessManager* pm = GPUProcessManager::Get();
|
||||||
|
@ -6721,15 +6721,6 @@ bool ContentParent::DeallocPSessionStorageObserverParent(
|
|||||||
return mozilla::dom::DeallocPSessionStorageObserverParent(aActor);
|
return mozilla::dom::DeallocPSessionStorageObserverParent(aActor);
|
||||||
}
|
}
|
||||||
|
|
||||||
mozilla::ipc::IPCResult ContentParent::RecvDeviceReset() {
|
|
||||||
GPUProcessManager* pm = GPUProcessManager::Get();
|
|
||||||
if (pm) {
|
|
||||||
pm->SimulateDeviceReset();
|
|
||||||
}
|
|
||||||
|
|
||||||
return IPC_OK();
|
|
||||||
}
|
|
||||||
|
|
||||||
mozilla::ipc::IPCResult ContentParent::RecvBHRThreadHang(
|
mozilla::ipc::IPCResult ContentParent::RecvBHRThreadHang(
|
||||||
const HangDetails& aDetails) {
|
const HangDetails& aDetails) {
|
||||||
nsCOMPtr<nsIObserverService> obs = mozilla::services::GetObserverService();
|
nsCOMPtr<nsIObserverService> obs = mozilla::services::GetObserverService();
|
||||||
|
@ -1259,8 +1259,6 @@ parent:
|
|||||||
// Tell the parent that the child has gone idle for the first time.
|
// Tell the parent that the child has gone idle for the first time.
|
||||||
async FirstIdle();
|
async FirstIdle();
|
||||||
|
|
||||||
async DeviceReset();
|
|
||||||
|
|
||||||
async CopyFavicon(nullable nsIURI oldURI, nullable nsIURI newURI, bool isPrivate);
|
async CopyFavicon(nullable nsIURI oldURI, nullable nsIURI newURI, bool isPrivate);
|
||||||
|
|
||||||
async FindImageText(IPCImage image, nsCString[] languages)
|
async FindImageText(IPCImage image, nsCString[] languages)
|
||||||
|
Loading…
Reference in New Issue
Block a user