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

Unified Diff: webkit/common/gpu/webgraphicscontext3d_impl.h

Issue 317523002: Corrected namespace for WebGraphicsContext3DImpl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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: webkit/common/gpu/webgraphicscontext3d_impl.h
diff --git a/webkit/common/gpu/webgraphicscontext3d_impl.h b/webkit/common/gpu/webgraphicscontext3d_impl.h
index ccc9046e2e4544e542d264eec447304499f36318..5444978b55c2b93d97c98adfaee6a71e5c03a490 100644
--- a/webkit/common/gpu/webgraphicscontext3d_impl.h
+++ b/webkit/common/gpu/webgraphicscontext3d_impl.h
@@ -37,7 +37,8 @@ using blink::WGC3Dclampf;
using blink::WGC3Dintptr;
using blink::WGC3Dsizeiptr;
-namespace content {
+namespace webkit {
+namespace gpu {
class WebGraphicsContext3DErrorMessageCallback;
@@ -552,7 +553,7 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DImpl
virtual GrGLInterface* createGrGLInterface();
- gpu::gles2::GLES2Interface* GetGLInterface() {
+ ::gpu::gles2::GLES2Interface* GetGLInterface() {
return gl_;
}
@@ -564,11 +565,11 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DImpl
bool lose_context_when_out_of_memory);
virtual ~WebGraphicsContext3DImpl();
- gpu::gles2::GLES2ImplementationErrorMessageCallback*
+ ::gpu::gles2::GLES2ImplementationErrorMessageCallback*
getErrorMessageCallback();
virtual void OnErrorMessage(const std::string& message, int id);
- void setGLInterface(gpu::gles2::GLES2Interface* gl) {
+ void setGLInterface(::gpu::gles2::GLES2Interface* gl) {
gl_ = gl;
}
@@ -588,11 +589,12 @@ class WEBKIT_GPU_EXPORT WebGraphicsContext3DImpl
// Errors raised by synthesizeGLError().
std::vector<WGC3Denum> synthetic_errors_;
- gpu::gles2::GLES2Interface* gl_;
+ ::gpu::gles2::GLES2Interface* gl_;
bool lose_context_when_out_of_memory_;
uint32_t flush_id_;
};
-} // namespace content
+} // namespace gpu
+} // namespace webkit
#endif // WEBKIT_COMMON_GPU_WEBGRAPHICSCONTEXT3D_IMPL_H_
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h ('k') | webkit/common/gpu/webgraphicscontext3d_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698