From a47fccd356705a7d92cc83b03150c9782167f8c4 Mon Sep 17 00:00:00 2001 From: "xhwang@chromium.org" Date: Wed, 28 Dec 2011 20:18:21 +0000 Subject: Add CHECK to investigate the root cause of issue 103957. New evidence suggests that the root cause of issue 103957 may be that the plugin failed to load (see comments of issue 103957). Adding new CHECKs to confirm this. Will remove the CHECK after this is confirmed. BUG=none TEST=none Review URL: http://codereview.chromium.org/9044010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@115913 0039d316-1c4b-4281-b951-d872f2087c98 --- content/ppapi_plugin/ppapi_thread.cc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'content/ppapi_plugin') diff --git a/content/ppapi_plugin/ppapi_thread.cc b/content/ppapi_plugin/ppapi_thread.cc index 31c8275..94e27dd 100644 --- a/content/ppapi_plugin/ppapi_thread.cc +++ b/content/ppapi_plugin/ppapi_thread.cc @@ -246,6 +246,9 @@ void PpapiThread::OnMsgCreateChannel(base::ProcessHandle host_process_handle, if (!library_.is_valid() || // Plugin couldn't be loaded. !SetupRendererChannel(host_process_handle, renderer_id, &channel_handle)) { + // Add CHECK to investigate the root cause of crbug.com/103957. Will remove + // after the bug is fixed. + CHECK(library_.is_valid()); Send(new PpapiHostMsg_ChannelCreated(IPC::ChannelHandle())); return; } -- cgit v1.1