From 09fb387aa28e997593d5d5c11cf4a5fb12258217 Mon Sep 17 00:00:00 2001 From: "erg@google.com" Date: Wed, 2 Feb 2011 01:16:46 +0000 Subject: Cleanup everything but net/ for our first clang plugins. BUG=none TEST=compiles Review URL: http://codereview.chromium.org/6250088 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@73396 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 13 +++++++++++++ webkit/gpu/webgraphicscontext3d_in_process_impl.h | 13 +------------ 2 files changed, 14 insertions(+), 12 deletions(-) (limited to 'webkit/gpu') diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc index 3721bbf..3e97073 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.cc +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.cc @@ -25,6 +25,19 @@ enum { MAX_FRAGMENT_UNIFORM_VECTORS = 0x8DFD }; +struct WebGraphicsContext3DInProcessImpl::ShaderSourceEntry { + explicit ShaderSourceEntry(WGC3Denum shader_type) + : type(shader_type), + is_valid(false) { + } + + WGC3Denum type; + scoped_array source; + scoped_array log; + scoped_array translated_source; + bool is_valid; +}; + WebGraphicsContext3DInProcessImpl::WebGraphicsContext3DInProcessImpl() : initialized_(false), render_directly_to_web_view_(false), diff --git a/webkit/gpu/webgraphicscontext3d_in_process_impl.h b/webkit/gpu/webgraphicscontext3d_in_process_impl.h index bdf2494..df4dded 100644 --- a/webkit/gpu/webgraphicscontext3d_in_process_impl.h +++ b/webkit/gpu/webgraphicscontext3d_in_process_impl.h @@ -399,18 +399,7 @@ class WebGraphicsContext3DInProcessImpl : public WebGraphicsContext3D { private: // ANGLE related. - struct ShaderSourceEntry { - explicit ShaderSourceEntry(WGC3Denum shader_type) - : type(shader_type), - is_valid(false) { - } - - WGC3Denum type; - scoped_array source; - scoped_array log; - scoped_array translated_source; - bool is_valid; - }; + struct ShaderSourceEntry; typedef base::hash_map ShaderSourceMap; -- cgit v1.1