Forbid ImageDownloaderImpl from accessing RenderThread instance after message loop shutdown.

This CL fixes the crash caused by following possible scenario:
- the message loop is shutdown.
- during its destructor it calls connection error on ImageDownloaderImpl.
- the strong binding of ImageDownloaderImpl causes it to be destructed.
- the destructor calls RenderThread::Get()->RemoveObserver(this),
  which is not valid any more.

BUG=640999
TBR=jochen@chromium.org

Review-Url: https://codereview.chromium.org/2286603002
Cr-Commit-Position: refs/heads/master@{#414985}
(cherry picked from commit d2ac649bc631233f4355860a011d3d30f985bb67)

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

Cr-Commit-Position: refs/branch-heads/2840@{#324}
Cr-Branched-From: 1ae106dbab4bddd85132d5b75c670794311f4c57-refs/heads/master@{#414607}
1 file changed