Index: cc/layer_texture_sub_image.h |
diff --git a/cc/layer_texture_sub_image.h b/cc/layer_texture_sub_image.h |
index 7cfe367c9e0610676b87d4238e713aae87972a35..930da75e5596f059ca8105961bc89437abc082e4 100644 |
--- a/cc/layer_texture_sub_image.h |
+++ b/cc/layer_texture_sub_image.h |
@@ -6,7 +6,7 @@ |
#ifndef LayerTextureSubImage_h |
#define LayerTextureSubImage_h |
-#include "GraphicsTypes3D.h" |
+#include "third_party/khronos/GLES2/gl2.h" |
#include "IntRect.h" |
#include "IntSize.h" |
#include <wtf/OwnArrayPtr.h> |
@@ -24,15 +24,15 @@ public: |
void upload(const uint8_t* image, const IntRect& imageRect, |
const IntRect& sourceRect, const IntSize& destOffset, |
- GC3Denum format, WebKit::WebGraphicsContext3D*); |
+ GLenum format, WebKit::WebGraphicsContext3D*); |
private: |
void uploadWithTexSubImage(const uint8_t* image, const IntRect& imageRect, |
const IntRect& sourceRect, const IntSize& destOffset, |
- GC3Denum format, WebKit::WebGraphicsContext3D*); |
+ GLenum format, WebKit::WebGraphicsContext3D*); |
void uploadWithMapTexSubImage(const uint8_t* image, const IntRect& imageRect, |
const IntRect& sourceRect, const IntSize& destOffset, |
- GC3Denum format, WebKit::WebGraphicsContext3D*); |
+ GLenum format, WebKit::WebGraphicsContext3D*); |
bool m_useMapTexSubImage; |
size_t m_subImageSize; |