Declaring the weak_ptr_factory in proper order in src/cc.
commit03fd39760cfd31da392e596be40fd06c9eff6bf6
authorkulkarni.a <kulkarni.a@samsung.com>
Wed, 17 Sep 2014 15:42:32 +0000 (17 08:42 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 17 Sep 2014 15:43:04 +0000 (17 15:43 +0000)
tree80f128a4abde8e205530962b5f1bb03385a20357
parent33f197bf06e457f0a2a3616f15e0f44683cc2a2c
Declaring the weak_ptr_factory in proper order in src/cc.

Cleaning up weak_ptr_factory destruction order.
WeakPtrFactory should remain the last member so it'll be destroyed and
invalidate its weak pointers before any other members are destroyed.

BUG=303818

Review URL: https://codereview.chromium.org/581563002

Cr-Commit-Position: refs/heads/master@{#295279}
cc/output/output_surface.cc
cc/output/output_surface.h
cc/resources/gpu_raster_worker_pool.h