Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3581)

Unified Diff: cc/texture_layer.cc

Issue 11150025: Patch from https://codereview.chromium.org/11111005/ without actual file deletes (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/texture_copier_unittest.cc ('k') | cc/texture_update_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « cc/texture_copier_unittest.cc ('k') | cc/texture_update_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698