From d9c2852424a372ad67459719c398d9040e2c0111 Mon Sep 17 00:00:00 2001 From: "jamesr@chromium.org" Date: Thu, 18 Oct 2012 23:35:43 +0000 Subject: Remove GraphicsContext3D:: stubs from cc cc needs GL enum values. In WebKit, these came from GraphicsContext3D::, Extensions3D::, Extensions3DChromium and types came from GraphicsTypes3D. In chromium, we juse use the GL headers for this. BUG=144577 Review URL: https://chromiumcodereview.appspot.com/11111005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@162839 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/software_renderer_unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cc/software_renderer_unittest.cc') diff --git a/cc/software_renderer_unittest.cc b/cc/software_renderer_unittest.cc index d77ad7f..5160963 100644 --- a/cc/software_renderer_unittest.cc +++ b/cc/software_renderer_unittest.cc @@ -112,8 +112,8 @@ TEST_F(CCRendererSoftwareTest, tileQuad) setViewportSize(outerSize); initializeRenderer(); - CCResourceProvider::ResourceId resourceYellow = resourceProvider()->createResource(1, outerSize, GraphicsContext3D::RGBA, CCResourceProvider::TextureUsageAny); - CCResourceProvider::ResourceId resourceCyan = resourceProvider()->createResource(1, innerSize, GraphicsContext3D::RGBA, CCResourceProvider::TextureUsageAny); + CCResourceProvider::ResourceId resourceYellow = resourceProvider()->createResource(1, outerSize, GL_RGBA, CCResourceProvider::TextureUsageAny); + CCResourceProvider::ResourceId resourceCyan = resourceProvider()->createResource(1, innerSize, GL_RGBA, CCResourceProvider::TextureUsageAny); SkColor yellow = SK_ColorYELLOW; SkColor cyan = SK_ColorCYAN; -- cgit v1.1