From 84bbc6f70c38dd9d565f1baf636381bb3ee2226c Mon Sep 17 00:00:00 2001
From: "mvujovic@adobe.com"
 <mvujovic@adobe.com@0039d316-1c4b-4281-b951-d872f2087c98>
Date: Fri, 4 Oct 2013 21:49:38 +0000
Subject: 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
---
 cc/test/fake_delegated_renderer_layer_impl.cc | 1 +
 1 file changed, 1 insertion(+)

(limited to 'cc/test/fake_delegated_renderer_layer_impl.cc')

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;
 }
-- 
cgit v1.1