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}
1 file changed