From b78e6049b83a6a221b6c7b47c229b337e3abce43 Mon Sep 17 00:00:00 2001
From: "sehr@google.com" <sehr@google.com@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Sat, 16 Jan 2010 16:22:27 +0000
Subject: Change some paths, include files to make the sources build on Native
 Client. Needed for Pepper progress.

Review URL: http://codereview.chromium.org/552024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36458 0039d316-1c4b-4281-b951-d872f2087c98
---
 gpu/pgl/command_buffer_pepper.h | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'gpu/pgl/command_buffer_pepper.h')

diff --git a/gpu/pgl/command_buffer_pepper.h b/gpu/pgl/command_buffer_pepper.h
index ab114e3..aa1d14b 100644
--- a/gpu/pgl/command_buffer_pepper.h
+++ b/gpu/pgl/command_buffer_pepper.h
@@ -8,7 +8,12 @@
 #include "gpu/command_buffer/common/command_buffer.h"
 #include "third_party/npapi/bindings/npapi.h"
 #include "third_party/npapi/bindings/npruntime.h"
+#include "third_party/npapi/bindings/npapi_extensions.h"
+#ifdef __native_client__
+#include "native_client/src/third_party/npapi/files/include/npupp.h"
+#else
 #include "webkit/glue/plugins/nphostapi.h"
+#endif  // __native_client__
 
 // A CommandBuffer proxy implementation that uses the Pepper API to access
 // the command buffer.
@@ -45,5 +50,3 @@ class CommandBufferPepper : public gpu::CommandBuffer {
 };
 
 #endif  // GPU_PGL_COMMAND_BUFFER_PEPPER_H
-
-
-- 
cgit v1.1