diff options
author | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-11 02:26:37 +0000 |
---|---|---|
committer | jamesr@chromium.org <jamesr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-01-11 02:26:37 +0000 |
commit | 0f9969980cd06a0cc87ec30e00d17d6e331324ad (patch) | |
tree | 7a68afcd82b625f3d01530b6ac8e1197b0d2753e /cc/test/test_texture.cc | |
parent | d7c9dc2d8a1b1b1ada826785f8693b3b55c17e4d (diff) | |
download | chromium_src-0f9969980cd06a0cc87ec30e00d17d6e331324ad.zip chromium_src-0f9969980cd06a0cc87ec30e00d17d6e331324ad.tar.gz chromium_src-0f9969980cd06a0cc87ec30e00d17d6e331324ad.tar.bz2 |
Remove unnecessary use of blink typedefs
This replaces uses of blink's WebGraphicsContext3D.h typedefs for GL numeric
types with the types from the khronos headers.
BUG=181120
Review URL: https://codereview.chromium.org/133023002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@244312 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/test_texture.cc')
-rw-r--r-- | cc/test/test_texture.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cc/test/test_texture.cc b/cc/test/test_texture.cc index d94ad56..0f4f07c 100644 --- a/cc/test/test_texture.cc +++ b/cc/test/test_texture.cc @@ -5,7 +5,6 @@ #include "cc/test/test_texture.h" #include "gpu/GLES2/gl2extchromium.h" -#include "third_party/khronos/GLES2/gl2.h" #include "third_party/khronos/GLES2/gl2ext.h" namespace cc { @@ -35,7 +34,7 @@ void TestTexture::Reallocate(gfx::Size size, ResourceFormat format) { this->data.reset(new uint8_t[TextureSizeBytes(size, format)]); } -bool TestTexture::IsValidParameter(blink::WGC3Denum pname) { +bool TestTexture::IsValidParameter(GLenum pname) { return params.find(pname) != params.end(); } |