Index: cc/tiled_layer.cc |
diff --git a/cc/tiled_layer.cc b/cc/tiled_layer.cc |
index e7adf54e06cd7e7f573abf4d47a7df7594b5ffec..3b0e61ca743f286c1cf5626334c9e58156b228aa 100644 |
--- a/cc/tiled_layer.cc |
+++ b/cc/tiled_layer.cc |
@@ -13,6 +13,7 @@ |
#include "CCTiledLayerImpl.h" |
#include "Region.h" |
#include "base/basictypes.h" |
+#include "third_party/khronos/GLES2/gl2.h" |
using namespace std; |
using WebKit::WebTransformationMatrix; |
@@ -77,7 +78,7 @@ private: |
TiledLayerChromium::TiledLayerChromium() |
: LayerChromium() |
- , m_textureFormat(GraphicsContext3D::INVALID_ENUM) |
+ , m_textureFormat(GL_INVALID_ENUM) |
, m_skipsDraw(false) |
, m_failedUpdate(false) |
, m_sampledTexelFormat(LayerTextureUpdater::SampledTexelFormatInvalid) |