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

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

Issue 23660006: FeatureInfo: Remove allowed_extensions and init workarounds early (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix android_webview build Created 7 years, 3 months 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 | « gpu/command_buffer/service/context_group.h ('k') | gpu/command_buffer/service/context_group_unittest.cc » ('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 90932fbdddc43cf68e849c8c37d3fa1ce00e347d..3ca824af351300ae4785dc3f4308f9c8ac5ac813 100644
--- a/gpu/command_buffer/service/context_group.cc
+++ b/gpu/command_buffer/service/context_group.cc
@@ -77,15 +77,14 @@ static void GetIntegerv(GLenum pname, uint32* var) {
bool ContextGroup::Initialize(
GLES2Decoder* decoder,
- const DisallowedFeatures& disallowed_features,
- const char* allowed_features) {
+ const DisallowedFeatures& disallowed_features) {
// If we've already initialized the group just add the context.
if (HaveContexts()) {
decoders_.push_back(base::AsWeakPtr<GLES2Decoder>(decoder));
return true;
}
- if (!feature_info_->Initialize(disallowed_features, allowed_features)) {
+ if (!feature_info_->Initialize(disallowed_features)) {
LOG(ERROR) << "ContextGroup::Initialize failed because FeatureInfo "
<< "initialization failed.";
return false;
« no previous file with comments | « gpu/command_buffer/service/context_group.h ('k') | gpu/command_buffer/service/context_group_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698