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

Unified Diff: components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc

Issue 1406153004: components/mus/public/interfaces View => Window (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Yet another rebase 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/web_graphics_context_3d_command_buffer_impl.cc
diff --git a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc b/components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc
index f9e4c5bc600c1c05b97e2de033ecb120614229e5..b9efa5e210612848094cbd35822c275be274485b 100644
--- a/components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc
+++ b/components/html_viewer/web_graphics_context_3d_command_buffer_impl.cc
@@ -26,7 +26,7 @@ WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext(
const blink::WebGraphicsContext3D::Attributes& attributes,
blink::WebGraphicsContext3D* share_context,
blink::WebGLInfo* gl_info) {
- const mojo::GpuInfo* gpu_info = global_state->GetGpuInfo();
+ const mus::mojom::GpuInfo* gpu_info = global_state->GetGpuInfo();
gl_info->vendorId = gpu_info->vendor_id;
gl_info->deviceId = gpu_info->device_id;
gl_info->vendorInfo = gpu_info->vendor_info.To<blink::WebString>();
@@ -35,16 +35,16 @@ WebGraphicsContext3DCommandBufferImpl::CreateOffscreenContext(
mojo::URLRequestPtr request(mojo::URLRequest::New());
request->url = mojo::String::From("mojo:mus");
- mojo::GpuPtr gpu_service;
+ mus::mojom::GpuPtr gpu_service;
app->ConnectToService(request.Pass(), &gpu_service);
- mojo::CommandBufferPtr cb;
+ mus::mojom::CommandBufferPtr cb;
gpu_service->CreateOffscreenGLES2Context(GetProxy(&cb));
return new WebGraphicsContext3DCommandBufferImpl(
cb.PassInterface(), active_url, attributes, share_context);
}
WebGraphicsContext3DCommandBufferImpl::WebGraphicsContext3DCommandBufferImpl(
- mojo::InterfacePtrInfo<mojo::CommandBuffer> command_buffer_info,
+ mojo::InterfacePtrInfo<mus::mojom::CommandBuffer> command_buffer_info,
const GURL& active_url,
const blink::WebGraphicsContext3D::Attributes& attributes,
blink::WebGraphicsContext3D* share_context) {

Powered by Google App Engine
This is Rietveld 408576698