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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

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
Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 363ff628c6d6a4ccca5ed693c752cca49ff8172c..e17a79684fa6784aded0cfe235647b289cdba520 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -671,11 +671,9 @@ class WebGraphicsContext3DCommandBufferImpl
// and subsequent calls are ignored. Must be called from the thread that is
// going to use this object to issue GL commands (which might not be the main
// thread).
- bool MaybeInitializeGL(const char* allowed_extensions);
+ bool MaybeInitializeGL();
- bool InitializeCommandBuffer(
- bool onscreen,
- const char* allowed_extensions);
+ bool InitializeCommandBuffer(bool onscreen);
void Destroy();
@@ -692,8 +690,7 @@ class WebGraphicsContext3DCommandBufferImpl
// allocate both fake PluginWindowHandles and NativeViewIds and map
// from fake NativeViewIds to PluginWindowHandles, but this seems like
// unnecessary complexity at the moment.
- bool CreateContext(bool onscreen,
- const char* allowed_extensions);
+ bool CreateContext(bool onscreen);
// SwapBuffers callback.
void OnSwapBuffersComplete();
« no previous file with comments | « content/common/gpu/client/gpu_channel_host.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698