Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(289)

Unified Diff: gpu/command_buffer/service/context_group.cc

Issue 2474253002: Rename GpuPreferences::enable_unsafe_es3_apis to enable_es3_apis (Closed)
Patch Set: rebase Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | gpu/command_buffer/service/gpu_preferences.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/command_buffer/service/context_group.cc
diff --git a/gpu/command_buffer/service/context_group.cc b/gpu/command_buffer/service/context_group.cc
index 84938acfcbe9feeed43b2e35d9ead16c7894c97f..a78799d7e3a458f10b1286e75eb0ac114fec5f05 100644
--- a/gpu/command_buffer/service/context_group.cc
+++ b/gpu/command_buffer/service/context_group.cc
@@ -118,7 +118,7 @@ ContextGroup::ContextGroup(
bool ContextGroup::Initialize(GLES2Decoder* decoder,
ContextType context_type,
const DisallowedFeatures& disallowed_features) {
- if (!gpu_preferences_.enable_unsafe_es3_apis &&
+ if (!gpu_preferences_.enable_es3_apis &&
(context_type == CONTEXT_TYPE_OPENGLES3 ||
context_type == CONTEXT_TYPE_WEBGL2)) {
DLOG(ERROR) << "ContextGroup::Initialize failed because ES3 APIs are "
« no previous file with comments | « content/common/gpu_host_messages.h ('k') | gpu/command_buffer/service/gpu_preferences.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698