sub_string = version_string.substr(begin, end - begin);
else
sub_string = version_string.substr(begin);
- std::vector<std::string> pieces;
- base::SplitString(sub_string, '.', &pieces);
+ std::vector<std::string> pieces = base::SplitString(sub_string,
+ ".",
+ base::TRIM_WHITESPACE,
+ base::SPLIT_WANT_ALL);
if (pieces.size() < 2)
return "0";
return pieces[0] + "." + pieces[1];
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;