Index: cc/test/tiled_layer_test_common.cc |
diff --git a/cc/test/tiled_layer_test_common.cc b/cc/test/tiled_layer_test_common.cc |
index 5d85d651d5ca95cf663607e069d63c92f728259c..7d6dfc1b0a6645945293d84811ac4286b2916c12 100644 |
--- a/cc/test/tiled_layer_test_common.cc |
+++ b/cc/test/tiled_layer_test_common.cc |
@@ -68,7 +68,7 @@ scoped_ptr<LayerTextureUpdater::Texture> FakeLayerTextureUpdater::createTexture( |
return scoped_ptr<LayerTextureUpdater::Texture>(new Texture(this, CCPrioritizedTexture::create(manager))); |
} |
-LayerTextureUpdater::SampledTexelFormat FakeLayerTextureUpdater::sampledTexelFormat(GC3Denum) |
+LayerTextureUpdater::SampledTexelFormat FakeLayerTextureUpdater::sampledTexelFormat(GLenum) |
{ |
return SampledTexelFormatRGBA; |
} |
@@ -88,7 +88,7 @@ FakeTiledLayerChromium::FakeTiledLayerChromium(CCPrioritizedTextureManager* text |
, m_textureManager(textureManager) |
{ |
setTileSize(tileSize()); |
- setTextureFormat(GraphicsContext3D::RGBA); |
+ setTextureFormat(GL_RGBA); |
setBorderTexelOption(CCLayerTilingData::NoBorderTexels); |
setIsDrawable(true); // So that we don't get false positives if any of these tests expect to return false from drawsContent() for other reasons. |
} |