Oilpan: tidy up finalization of InspectorEmulationAgent following r192106.

Move InspectorEmulationAgent's self-reference clearing to discardAgent()
instead of doing in its destructor, as that will access an already dead
WebViewImpl object.

R=tkent
BUG=467059

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

git-svn-id: svn://svn.chromium.org/blink/trunk@192150 bbb929c8-8fbe-4397-9dbb-9b2b20218538
2 files changed
tree: 5b34d9ec301c124bfe7f4278d44980ddc6d686f8
  1. third_party/