• Stuart Langley's avatar
    Replace transitive includes of WTF_MAKE_NONCOPYABLE with DISALLOW_COPY_AND_ASSIGN. · 4a1a9d3d
    Stuart Langley authored
    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: default avatarKentaro Hara <haraken@chromium.org>
    Commit-Queue: Stuart Langley <slangley@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#519533}
    4a1a9d3d
ThreadState.h 24.4 KB