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

Unified Diff: cc/tiled_layer_unittest.cc

Issue 11270047: cc: Rename TextureUpdate to ResourceUpdate. (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
Index: cc/tiled_layer_unittest.cc
diff --git a/cc/tiled_layer_unittest.cc b/cc/tiled_layer_unittest.cc
index 3c78e27a93a9387f8d9e58981071f8c5c063b915..c45ce55722749bfe4489cdececd358c4a83ce613 100644
--- a/cc/tiled_layer_unittest.cc
+++ b/cc/tiled_layer_unittest.cc
@@ -17,7 +17,7 @@
#include "cc/test/geometry_test_utils.h"
#include "cc/test/tiled_layer_test_common.h"
#include "cc/test/web_compositor_initializer.h"
-#include "cc/texture_update_controller.h"
+#include "cc/resource_update_controller.h"
enne (OOO) 2012/10/25 20:54:30 Sorting.
reveman 2012/10/25 21:07:45 Done.
#include "testing/gtest/include/gtest/gtest.h"
#include <public/WebTransformationMatrix.h>
@@ -51,7 +51,7 @@ public:
TiledLayerTest()
: m_compositorInitializer(0)
, m_context(WebKit::createFakeGraphicsContext())
- , m_queue(make_scoped_ptr(new TextureUpdateQueue))
+ , m_queue(make_scoped_ptr(new ResourceUpdateQueue))
, m_textureManager(PrioritizedTextureManager::create(60*1024*1024, 1024, Renderer::ContentPool))
, m_occlusion(0)
{
@@ -101,14 +101,14 @@ public:
{
DebugScopedSetImplThreadAndMainThreadBlocked implThreadAndMainThreadBlocked;
DCHECK(m_queue);
- scoped_ptr<TextureUpdateController> updateController =
- TextureUpdateController::create(
+ scoped_ptr<ResourceUpdateController> updateController =
+ ResourceUpdateController::create(
NULL,
Proxy::implThread(),
m_queue.Pass(),
m_resourceProvider.get());
updateController->finalize();
- m_queue = make_scoped_ptr(new TextureUpdateQueue);
+ m_queue = make_scoped_ptr(new ResourceUpdateQueue);
}
void layerPushPropertiesTo(FakeTiledLayer* layer, FakeTiledLayerImpl* layerImpl)
{
@@ -160,7 +160,7 @@ public:
WebKitTests::WebCompositorInitializer m_compositorInitializer;
scoped_ptr<GraphicsContext> m_context;
scoped_ptr<ResourceProvider> m_resourceProvider;
- scoped_ptr<TextureUpdateQueue> m_queue;
+ scoped_ptr<ResourceUpdateQueue> m_queue;
RenderingStats m_stats;
PriorityCalculator m_priorityCalculator;
scoped_ptr<PrioritizedTextureManager> m_textureManager;

Powered by Google App Engine
This is Rietveld 408576698