mirror of
https://bitbucket.org/chromiumembedded/cef
synced 2025-06-05 21:39:12 +02:00
Update to Chromium revision 149431.
git-svn-id: https://chromiumembedded.googlecode.com/svn/trunk@731 5089003a-bbd8-11dd-ad1f-f1f9622dbc98
This commit is contained in:
@ -150,13 +150,10 @@ WebKit::WebGraphicsContext3D* CreateGraphicsContext3D(
|
||||
#endif
|
||||
|
||||
if (use_command_buffer) {
|
||||
WebKit::WebGraphicsContext3D* view_context = NULL;
|
||||
if (!renderDirectlyToWebView)
|
||||
view_context = web_view->graphicsContext3D();
|
||||
scoped_ptr<webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl>
|
||||
context(
|
||||
new webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl());
|
||||
if (!context->Initialize(attributes, view_context))
|
||||
if (!context->Initialize(attributes, NULL))
|
||||
return NULL;
|
||||
return context.release();
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user