diff options
author | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 01:16:46 +0000 |
---|---|---|
committer | erg@google.com <erg@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-02-02 01:16:46 +0000 |
commit | 09fb387aa28e997593d5d5c11cf4a5fb12258217 (patch) | |
tree | 18c92d7099ac4ca248ee5e2061aa3ea82b111eb7 /webkit/gpu | |
parent | 06aca52af687c5d55794a56aa9e3d625ce6ea8ea (diff) | |
download | chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.zip chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.tar.gz chromium_src-09fb387aa28e997593d5d5c11cf4a5fb12258217.tar.bz2 |
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
Diffstat (limited to 'webkit/gpu')
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_impl.cc | 13 | ||||
-rw-r--r-- | webkit/gpu/webgraphicscontext3d_in_process_impl.h | 13 |
2 files changed, 14 insertions, 12 deletions
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<char> source; + scoped_array<char> log; + scoped_array<char> 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<char> source; - scoped_array<char> log; - scoped_array<char> translated_source; - bool is_valid; - }; + struct ShaderSourceEntry; typedef base::hash_map<WebGLId, ShaderSourceEntry*> ShaderSourceMap; |