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

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

Issue 9959037: Put the Pepper stuff in the content namespace. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 9 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: 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 2abd9b131b3cc2b07916cbb316621333efdc90d9..d0cc174c4455799c6890fbe0ef26523ecfaf50f3 100644
--- a/content/renderer/pepper/pepper_platform_context_3d_impl.cc
+++ b/content/renderer/pepper/pepper_platform_context_3d_impl.cc
@@ -18,6 +18,8 @@
#ifdef ENABLE_GPU
+namespace content {
+
PlatformContext3DImpl::PlatformContext3DImpl(
PepperParentContextProvider* parent_context_provider)
: parent_context_provider_(parent_context_provider),
@@ -67,7 +69,7 @@ bool PlatformContext3DImpl::Init(const int32* attrib_list) {
// Note similar code in PP_GRAPHICS3DATTRIB_initialize.
do {
channel_ = render_thread->EstablishGpuChannelSync(
- content::CAUSE_FOR_GPU_LAUNCH_PEPPERPLATFORMCONTEXT3DIMPL_INITIALIZE);
+ CAUSE_FOR_GPU_LAUNCH_PEPPERPLATFORMCONTEXT3DIMPL_INITIALIZE);
if (!channel_.get())
return false;
DCHECK(channel_->state() == GpuChannelHost::kConnected);
@@ -201,4 +203,6 @@ void PlatformContext3DImpl::OnConsoleMessage(const std::string& msg, int id) {
console_message_callback_.Run(msg, id);
}
+} // namespace content
+
#endif // ENABLE_GPU
« no previous file with comments | « content/renderer/pepper/pepper_platform_context_3d_impl.h ('k') | content/renderer/pepper/pepper_platform_image_2d_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698