Initialize ScopedRestoreNonOwnedEGLContext instance.
authorvenu.musham <venu.musham@samsung.com>
Fri, 13 Nov 2015 14:51:24 +0000 (20:21 +0530)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
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>
tizen_src/chromium_impl/gpu/config/gpu_info_collector_efl.cc

index 41fb17a..f297975 100644 (file)
@@ -64,13 +64,9 @@ CollectInfoResult CollectBasicGraphicsInfo(GPUInfo* gpu_info) {
   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;