summaryrefslogtreecommitdiffstats
path: root/cc/test/fake_delegated_renderer_layer_impl.cc
diff options
context:
space:
mode:
authormvujovic@adobe.com <mvujovic@adobe.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 21:49:38 +0000
committermvujovic@adobe.com <mvujovic@adobe.com@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-04 21:49:38 +0000
commit84bbc6f70c38dd9d565f1baf636381bb3ee2226c (patch)
treeb60e3882fa05434c2c92b2c7ce1850ea12074af0 /cc/test/fake_delegated_renderer_layer_impl.cc
parentc54e1973533e1b7883769ab3930fb0957f283270 (diff)
downloadchromium_src-84bbc6f70c38dd9d565f1baf636381bb3ee2226c.zip
chromium_src-84bbc6f70c38dd9d565f1baf636381bb3ee2226c.tar.gz
chromium_src-84bbc6f70c38dd9d565f1baf636381bb3ee2226c.tar.bz2
Factor TextureMap and Texture class out of resource_provider_unittest.cc and into TestWebGraphicsContext3D
So that in a future patch, TestWebGraphicsContext3D will be able to store texture parameters. Review URL: https://codereview.chromium.org/23895005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@227097 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/fake_delegated_renderer_layer_impl.cc')
-rw-r--r--cc/test/fake_delegated_renderer_layer_impl.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc/test/fake_delegated_renderer_layer_impl.cc b/cc/test/fake_delegated_renderer_layer_impl.cc
index 1420ae2..14d8062 100644
--- a/cc/test/fake_delegated_renderer_layer_impl.cc
+++ b/cc/test/fake_delegated_renderer_layer_impl.cc
@@ -28,6 +28,7 @@ static ResourceProvider::ResourceId AddResourceToFrame(
ResourceProvider::ResourceId resource_id) {
TransferableResource resource;
resource.id = resource_id;
+ resource.target = GL_TEXTURE_2D;
frame->resource_list.push_back(resource);
return resource_id;
}