зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1643381 - Inline ProcessUpdateFrame and remove stale declaration. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D78322
This commit is contained in:
Родитель
9e95f1a2e5
Коммит
621c1f3b9d
|
@ -208,7 +208,7 @@ bool BrowserChild::UpdateFrame(const RepaintRequest& aRequest) {
|
|||
// Guard against stale updates (updates meant for a pres shell which
|
||||
// has since been torn down and destroyed).
|
||||
if (aRequest.GetPresShellId() == presShell->GetPresShellId()) {
|
||||
ProcessUpdateFrame(aRequest);
|
||||
APZCCallbackHelper::UpdateRootFrame(aRequest);
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
@ -221,14 +221,6 @@ bool BrowserChild::UpdateFrame(const RepaintRequest& aRequest) {
|
|||
return true;
|
||||
}
|
||||
|
||||
void BrowserChild::ProcessUpdateFrame(const RepaintRequest& aRequest) {
|
||||
if (!mBrowserChildMessageManager) {
|
||||
return;
|
||||
}
|
||||
|
||||
APZCCallbackHelper::UpdateRootFrame(aRequest);
|
||||
}
|
||||
|
||||
NS_IMETHODIMP
|
||||
ContentListener::HandleEvent(Event* aEvent) {
|
||||
RemoteDOMEvent remoteEvent;
|
||||
|
|
|
@ -752,10 +752,6 @@ class BrowserChild final : public nsMessageManagerScriptExecutor,
|
|||
void DispatchMessageManagerMessage(const nsAString& aMessageName,
|
||||
const nsAString& aJSONData);
|
||||
|
||||
void ProcessUpdateFrame(const mozilla::layers::RepaintRequest& aRequest);
|
||||
|
||||
bool UpdateFrameHandler(const mozilla::layers::RepaintRequest& aRequest);
|
||||
|
||||
void HandleDoubleTap(const CSSPoint& aPoint, const Modifiers& aModifiers,
|
||||
const ScrollableLayerGuid& aGuid);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче