| Index: cc/texture_layer.cc
|
| diff --git a/cc/texture_layer.cc b/cc/texture_layer.cc
|
| index 00b81f81641f603defbb5b3c5252ab67da2caeac..2f872a9a6eaeed6df0e094d6fc78a808b39fee85 100644
|
| --- a/cc/texture_layer.cc
|
| +++ b/cc/texture_layer.cc
|
| @@ -6,9 +6,9 @@
|
|
|
| #include "TextureLayerChromium.h"
|
|
|
| +#include "third_party/khronos/GLES2/gl2.h"
|
| #include "CCLayerTreeHost.h"
|
| #include "CCTextureLayerImpl.h"
|
| -#include "GraphicsContext3D.h"
|
| #include "TextureLayerChromiumClient.h"
|
| #include <public/WebGraphicsContext3D.h>
|
|
|
| @@ -112,7 +112,7 @@ void TextureLayerChromium::update(CCTextureUpdateQueue& queue, const CCOcclusion
|
| {
|
| if (m_client) {
|
| m_textureId = m_client->prepareTexture(queue);
|
| - m_contextLost = m_client->context()->getGraphicsResetStatusARB() != GraphicsContext3D::NO_ERROR;
|
| + m_contextLost = m_client->context()->getGraphicsResetStatusARB() != GL_NO_ERROR;
|
| }
|
|
|
| m_needsDisplay = false;
|
|
|