summaryrefslogtreecommitdiffstats
path: root/gpu
diff options
context:
space:
mode:
authoralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 15:38:27 +0000
committeralokp@chromium.org <alokp@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-21 15:38:27 +0000
commit836b3b307a796d3a5d44f5b6b3ade30a6dbdb4e2 (patch)
tree01a163c6c297be4246acea077723d334cf6a7d6d /gpu
parent026ea7036f602ca051ef7c9c289ae6fee777adb5 (diff)
downloadchromium_src-836b3b307a796d3a5d44f5b6b3ade30a6dbdb4e2.zip
chromium_src-836b3b307a796d3a5d44f5b6b3ade30a6dbdb4e2.tar.gz
chromium_src-836b3b307a796d3a5d44f5b6b3ade30a6dbdb4e2.tar.bz2
Client side code should include local logging so it can be stubbed out.
Review URL: http://codereview.chromium.org/1714001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45191 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu')
-rw-r--r--gpu/command_buffer/common/buffer.h2
-rw-r--r--gpu/pgl/command_buffer_pepper.cc8
2 files changed, 3 insertions, 7 deletions
diff --git a/gpu/command_buffer/common/buffer.h b/gpu/command_buffer/common/buffer.h
index ed3cdf5..730053a 100644
--- a/gpu/command_buffer/common/buffer.h
+++ b/gpu/command_buffer/common/buffer.h
@@ -5,6 +5,8 @@
#ifndef GPU_COMMAND_BUFFER_COMMON_BUFFER_H_
#define GPU_COMMAND_BUFFER_COMMON_BUFFER_H_
+#include "../common/types.h"
+
namespace base {
class SharedMemory;
}
diff --git a/gpu/pgl/command_buffer_pepper.cc b/gpu/pgl/command_buffer_pepper.cc
index 4a94b9c..6765f1e 100644
--- a/gpu/pgl/command_buffer_pepper.cc
+++ b/gpu/pgl/command_buffer_pepper.cc
@@ -2,15 +2,9 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "gpu/command_buffer/common/constants.h"
#include "gpu/pgl/command_buffer_pepper.h"
-#ifdef __native_client__
-#include <assert.h>
-#define NOTREACHED() assert(0)
-#else
-#include "base/logging.h"
-#endif // __native_client__
+#include "gpu/command_buffer/common/logging.h"
using base::SharedMemory;
using gpu::Buffer;