Reduce includes of GeckoContentController.h just for its enums
Categories
(Core :: Panning and Zooming, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox78 | --- | fixed |
People
(Reporter: jgilbert, Assigned: jgilbert)
Details
Attachments
(1 file)
GeckoContentController::TapType and GeckoContentController::APZStateChange are used in a number of surprisingly-widely-included headers. For include-hygeine sake, it would be nice to split these out into a more-standalone header.
Assignee | ||
Comment 1•5 years ago
|
||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Comment 3•5 years ago
|
||
Backed out for bustage on APZCTreeManagerChild.cpp
backout: https://hg.mozilla.org/integration/autoland/rev/79cae1a3d97b8c00a1a120ab7322f566f4a20b2f
failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=302499685&repo=autoland&lineNumber=33855
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - In file included from Unified_cpp_gfx_layers8.cpp:11:
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - /builds/worker/checkouts/gecko/gfx/layers/ipc/APZCTreeManagerChild.cpp(132,15): error: member access into incomplete type 'mozilla::layers::GeckoContentController'
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - controller->HandleTap(aType, aPoint, aModifiers, aGuid, aInputBlockId);
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - ^
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - /builds/worker/workspace/obj-build/dist/include/mozilla/layers/CompositorBridgeParent.h(90,7): note: forward declaration of 'mozilla::layers::GeckoContentController'
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - class GeckoContentController;
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - ^
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - 1 error generated.
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - /builds/worker/checkouts/gecko/config/rules.mk:746: recipe for target 'Unified_cpp_gfx_layers8.obj' failed
[task 2020-05-15T20:16:22.217Z] 20:16:22 ERROR - make[4]: *** [Unified_cpp_gfx_layers8.obj] Error 1
[task 2020-05-15T20:16:22.217Z] 20:16:22 INFO - make[4]: Leaving directory '/builds/worker/workspace/obj-build/gfx/layers'
[task 2020-05-15T20:16:22.218Z] 20:16:22 INFO - make[4]: *** Waiting for unfinished jobs....
Assignee | ||
Updated•5 years ago
|
Comment 5•5 years ago
|
||
bugherder |
Description
•