ScopedRestoreNonOwnedEGLContext initialization was commented
during M47 bringup task, there was crash due to uninitialized
shared glcontext.
Since the initialization is fixed in commit[1], this patch brings
back the commented code in M47 bringup.
[1] http://165.213.202.130/gerrit/#/c/94641/
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=14682
Reviewed by: a1.gomes, sns.park
Change-Id: Iba00908a964398b73184180f4f2903551c1ada53
Signed-off-by: venu.musham <venu.musham@samsung.com>
DCHECK(gpu_info);
gpu_info->can_lose_context = false;
-#if !defined(EWK_BRINGUP)
-// [M47_2526] Temporary disabling the codes for resolving crash issue
-// FIXME: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=14531
// Create a short-lived context on the UI thread to collect the GL strings.
// Make sure we restore the existing context if there is one.
ScopedRestoreNonOwnedEGLContext restore_context;
-#endif
CollectInfoResult result = CollectGraphicsInfoGL(gpu_info);
gpu_info->basic_info_state = result;
gpu_info->context_info_state = result;