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

Unified Diff: content/renderer/pepper/pepper_platform_context_3d_impl.cc

Issue 11267035: Fix layering violation where content is included by gpu. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove NOTIMPLEMENTED entrypoints Created 8 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
« no previous file with comments | « content/renderer/pepper/pepper_platform_context_3d_impl.h ('k') | gpu/ipc/command_buffer_proxy.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/pepper/pepper_platform_context_3d_impl.cc
diff --git a/content/renderer/pepper/pepper_platform_context_3d_impl.cc b/content/renderer/pepper/pepper_platform_context_3d_impl.cc
index 27c967e05f973b0bf3eb2e59814b34385130f465..41ad54c0c9d9b85c92e35fedcc5006e765b35916 100644
--- a/content/renderer/pepper/pepper_platform_context_3d_impl.cc
+++ b/content/renderer/pepper/pepper_platform_context_3d_impl.cc
@@ -102,7 +102,7 @@ bool PlatformContext3DImpl::Init(const int32* attrib_list,
attribs.push_back(PP_GRAPHICS3DATTRIB_NONE);
}
- CommandBufferProxy* share_buffer = NULL;
+ CommandBufferProxyImpl* share_buffer = NULL;
if (share_context) {
PlatformContext3DImpl* share_impl =
static_cast<PlatformContext3DImpl*>(share_context);
@@ -144,7 +144,7 @@ bool PlatformContext3DImpl::Init(const int32* attrib_list,
parent_gles2->helper()->CommandBufferHelper::Finish();
parent_texture_id_ = parent_gles2->MakeTextureId();
- CommandBufferProxy* parent_command_buffer =
+ CommandBufferProxyImpl* parent_command_buffer =
parent_context_->GetCommandBufferProxy();
if (!command_buffer_->SetParent(parent_command_buffer, parent_texture_id_))
return false;
@@ -178,7 +178,7 @@ void PlatformContext3DImpl::SetParentContext(
parent_gles2->helper()->CommandBufferHelper::Flush();
parent_texture_id_ = parent_gles2->MakeTextureId();
- CommandBufferProxy* parent_command_buffer =
+ CommandBufferProxyImpl* parent_command_buffer =
parent_context_->GetCommandBufferProxy();
command_buffer_->SetParent(parent_command_buffer, parent_texture_id_);
}
« no previous file with comments | « content/renderer/pepper/pepper_platform_context_3d_impl.h ('k') | gpu/ipc/command_buffer_proxy.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698