Index: components/html_viewer/blink_platform_impl.cc |
diff --git a/components/html_viewer/blink_platform_impl.cc b/components/html_viewer/blink_platform_impl.cc |
index 3a4ad96d726b187363e2cd99aec9c696e577829f..e629ab77d78a385cc4aeb0626dceed88b434a599 100644 |
--- a/components/html_viewer/blink_platform_impl.cc |
+++ b/components/html_viewer/blink_platform_impl.cc |
@@ -172,14 +172,15 @@ blink::WebGraphicsContext3D* |
BlinkPlatformImpl::createOffscreenGraphicsContext3D( |
const blink::WebGraphicsContext3D::Attributes& attributes, |
blink::WebGraphicsContext3D* share_context) { |
- return createOffscreenGraphicsContext3D(attributes, share_context, nullptr); |
+ blink::WebGraphicsContext3D::WebGraphicsInfo glInfo; |
sky
2015/10/16 20:28:50
gl_info here and 193.
sivag
2015/10/19 16:19:23
Done.
|
+ return createOffscreenGraphicsContext3D(attributes, share_context, glInfo); |
} |
blink::WebGraphicsContext3D* |
BlinkPlatformImpl::createOffscreenGraphicsContext3D( |
const blink::WebGraphicsContext3D::Attributes& attributes, |
blink::WebGraphicsContext3D* share_context, |
- blink::WebGLInfo* gl_info) { |
+ blink::WebGraphicsContext3D::WebGraphicsInfo& gl_info) { |
// TODO(penghuang): Use the app from the right HTMLDocument. |
return WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext( |
global_state_, app_, GURL(attributes.topDocumentURL), attributes, |
@@ -189,7 +190,8 @@ BlinkPlatformImpl::createOffscreenGraphicsContext3D( |
blink::WebGraphicsContext3D* |
BlinkPlatformImpl::createOffscreenGraphicsContext3D( |
const blink::WebGraphicsContext3D::Attributes& attributes) { |
- return createOffscreenGraphicsContext3D(attributes, nullptr, nullptr); |
+ blink::WebGraphicsContext3D::WebGraphicsInfo glInfo; |
+ return createOffscreenGraphicsContext3D(attributes, nullptr, glInfo); |
} |
blink::WebGraphicsContext3DProvider* |