Replace transitive includes of WTF_MAKE_NONCOPYABLE with DISALLOW_COPY_AND_ASSIGN.
There are many places where WTF_MAKE_NONCOPYABLE is transitively defined. This CL starts replacing these uses with DISALLOW_COPY_AND_ASSIGN and includes base/macros.h as required. Where required the declaration of DISALLOW_COPY_AND_ASSIGN is moved to the end of the class definition. Also, take the opportunity to use "= default" rather than {} for ctors and dtors, in line with recent discussions on chromium-cxx@. There are no logic changes in this CL. Bug: 565932 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: Idc53c473b134277cc2a079704648f99b3f9d47f1 Reviewed-on: https://chromium-review.googlesource.com/791870Reviewed-by:Kentaro Hara <haraken@chromium.org> Commit-Queue: Stuart Langley <slangley@chromium.org> Cr-Commit-Position: refs/heads/master@{#519533}
Showing
Please register or sign in to comment