Properly guard the weak reference.

  Bug: 12805279

Change-Id: I268b121807d10edaba5d627eb3fc2d2ffc6579d3
1 file changed