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

Unified Diff: components/html_viewer/blink_platform_impl.cc

Issue 1384233003: Improve usefulness of webglcontextcreationerror statusMessage (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 2 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: 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..1f578ab384d6169088f32e3a704e1e29470b3ab6 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 gl_info;
+ return createOffscreenGraphicsContext3D(attributes, share_context, &gl_info);
}
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,
« no previous file with comments | « components/html_viewer/blink_platform_impl.h ('k') | components/html_viewer/web_graphics_context_3d_command_buffer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698