Remove two bogus asserts in GpuChildThreadEfl::OnInitialize.
authorAntonio Gomes <a1.gomes@samsung.com>
Thu, 28 Jan 2016 17:41:25 +0000 (13:41 -0400)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
commit484d80608480460190d9c22812022ba3a13f5b4e
tree4b54e08e59a755af9ae2e4e7f73af5899e80d344
parente81687dfa70a1f7db6dbe1cd92c0010896be3f2d
Remove two bogus asserts in GpuChildThreadEfl::OnInitialize.

GpuChildThreadEfl's main goal is to override GpuChannelManager's
shared context and mailbox manager by the ones created by Efl
shared evas gl context.

In order to do that, GpuChildThreadEfl overrides GpuChildThread
and reimplements its OnInitialize method.
OnInitialize first calls GpuChilfThread::OnInitialize, where
gpu_channel_manager_ is instantiated, performs the overrides.

Problem is that by the time GpuChildThread::OnInitialize is executed
and GpuChannelManager is instantiated, its ctor also instantiates
share_group_ and mailbox_manager_ class member variables.

Hence, both DCHECKs (being removed by this patch) fail.
Patch removes them because they check for logically invalid
conditions.

Original beta/m47 patch: http://165.213.202.130/gerrit/#/c/105899/

Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=15731

Reviewed by: g.czajkowski, sns.park

Change-Id: Ib6d8927f189fdb3595d7da528adebf60d0f2d562
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>
tizen_src/chromium_impl/content/gpu/in_process_gpu_thread_efl.cc