Bug 209090 - Remove unused IPC messages from DrawingAreaProxy
Summary: Remove unused IPC messages from DrawingAreaProxy
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit2 (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Brent Fulgham
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-03-13 15:42 PDT by Brent Fulgham
Modified: 2020-03-16 12:56 PDT (History)
8 users (show)

See Also:


Attachments
Patch (6.85 KB, patch)
2020-03-13 15:57 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch (7.53 KB, patch)
2020-03-14 16:31 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch (15.61 KB, patch)
2020-03-16 09:32 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff
Patch for landing (7.83 KB, patch)
2020-03-16 12:08 PDT, Brent Fulgham
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Brent Fulgham 2020-03-13 15:42:18 PDT
Remove the following three unused messages in DrawingAreaProxy:

DrawingAreaProxy::Update
DrawingAreaProxy::DidUpdateBackingStoreState
DrawingAreaProxy::ExitAcceleratedCompositingMode
Comment 1 Brent Fulgham 2020-03-13 15:42:32 PDT
<rdar://problem/60333300>
Comment 2 Brent Fulgham 2020-03-13 15:57:20 PDT
Created attachment 393549 [details]
Patch
Comment 3 Wenson Hsieh 2020-03-13 16:02:20 PDT
Comment on attachment 393549 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393549&action=review

> Source/WebKit/UIProcess/DrawingAreaProxy.messages.in:-24
> -    Update(uint64_t stateID, WebKit::UpdateInfo updateInfo)

This one at least appears to be used in Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp :/
Comment 4 Chris Dumez 2020-03-13 16:38:32 PDT
Comment on attachment 393549 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393549&action=review

>> Source/WebKit/UIProcess/DrawingAreaProxy.messages.in:-24
>> -    Update(uint64_t stateID, WebKit::UpdateInfo updateInfo)
> 
> This one at least appears to be used in Source/WebKit/WebProcess/WebPage/CoordinatedGraphics/DrawingAreaCoordinatedGraphics.cpp :/

So I guess we should #ifdef it instead.
Comment 5 Brent Fulgham 2020-03-14 16:31:43 PDT
Created attachment 393597 [details]
Patch
Comment 6 Brent Fulgham 2020-03-16 09:32:46 PDT
Created attachment 393656 [details]
Patch
Comment 7 Wenson Hsieh 2020-03-16 11:58:30 PDT
Comment on attachment 393656 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=393656&action=review

> Source/WebCore/DerivedSources-input.xcfilelist:442
> +$(PROJECT_DIR)/Modules/webxr/NavigatorWebXR.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRBoundedReferenceSpace.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRFrame.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRInputSource.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRInputSourceArray.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRPose.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRReferenceSpace.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRRenderState.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRRigidTransform.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRSession.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRSpace.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRSystem.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRView.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRViewerPose.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRViewport.idl
> +$(PROJECT_DIR)/Modules/webxr/WebXRWebGLLayer.idl
> +$(PROJECT_DIR)/Modules/webxr/XREnvironmentBlendMode.idl
> +$(PROJECT_DIR)/Modules/webxr/XREye.idl
> +$(PROJECT_DIR)/Modules/webxr/XRFrameRequestCallback.idl
> +$(PROJECT_DIR)/Modules/webxr/XRHandedness.idl
> +$(PROJECT_DIR)/Modules/webxr/XRInputSourceEvent.idl
> +$(PROJECT_DIR)/Modules/webxr/XRInputSourcesChangeEvent.idl
> +$(PROJECT_DIR)/Modules/webxr/XRReferenceSpaceEvent.idl
> +$(PROJECT_DIR)/Modules/webxr/XRReferenceSpaceType.idl
> +$(PROJECT_DIR)/Modules/webxr/XRRenderStateInit.idl
> +$(PROJECT_DIR)/Modules/webxr/XRSessionEvent.idl
> +$(PROJECT_DIR)/Modules/webxr/XRSessionInit.idl
> +$(PROJECT_DIR)/Modules/webxr/XRSessionMode.idl
> +$(PROJECT_DIR)/Modules/webxr/XRTargetRayMode.idl
> +$(PROJECT_DIR)/Modules/webxr/XRVisibilityState.idl
> +$(PROJECT_DIR)/Modules/webxr/XRWebGLLayerInit.idl

Looks like https://trac.webkit.org/changeset/258510/webkit takes care of this already.

> Source/WebCore/DerivedSources-output.xcfilelist:2097
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRBoundedReferenceSpace.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRBoundedReferenceSpace.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRFrame.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRFrame.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRInputSource.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRInputSource.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRInputSourceArray.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRInputSourceArray.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRPose.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRPose.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRReferenceSpace.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRReferenceSpace.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRRenderState.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRRenderState.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRRigidTransform.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRRigidTransform.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSession.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSession.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSpace.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSpace.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSystem.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRSystem.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRView.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRView.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRViewerPose.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRViewerPose.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRViewport.cpp
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRViewport.h
> +$(BUILT_PRODUCTS_DIR)/DerivedSources/WebCore/JSWebXRWebGLLayer.cpp

(Ditto)
Comment 8 Brent Fulgham 2020-03-16 12:08:32 PDT
Created attachment 393671 [details]
Patch for landing
Comment 9 WebKit Commit Bot 2020-03-16 12:56:41 PDT
Comment on attachment 393671 [details]
Patch for landing

Clearing flags on attachment: 393671

Committed r258513: <https://trac.webkit.org/changeset/258513>
Comment 10 WebKit Commit Bot 2020-03-16 12:56:43 PDT
All reviewed patches have been landed.  Closing bug.