From 3b10a30273e8efe972c623f859a50b5a8643a063 Mon Sep 17 00:00:00 2001 From: "reveman@google.com" Date: Wed, 7 Nov 2012 21:16:40 +0000 Subject: cc: Rename PrioritizedTexture to PrioritizedResource. sed -e ' s/PrioritizedTexture/PrioritizedResource/g s/prioritized_texture/prioritized_resource/g s/PRIORITIZED_TEXTURE/PRIORITIZED_RESOURCE/g s/managedTexture/managedResource/g s/textureManager/resourceManager/g s/constentsTextureManager/constentsResourceManager/g ' BUG= TEST=cc_unittests Review URL: https://codereview.chromium.org/11369109 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@166520 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/layer_tree_host.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cc/layer_tree_host.cc') diff --git a/cc/layer_tree_host.cc b/cc/layer_tree_host.cc index 07d2591..0e0f2d3 100644 --- a/cc/layer_tree_host.cc +++ b/cc/layer_tree_host.cc @@ -163,7 +163,7 @@ void LayerTreeHost::initializeRenderer() // Update m_settings based on partial update capability. m_settings.maxPartialTextureUpdates = min(m_settings.maxPartialTextureUpdates, m_proxy->maxPartialTextureUpdates()); - m_contentsTextureManager = PrioritizedTextureManager::create(0, m_proxy->rendererCapabilities().maxTextureSize, Renderer::ContentPool); + m_contentsTextureManager = PrioritizedResourceManager::create(0, m_proxy->rendererCapabilities().maxTextureSize, Renderer::ContentPool); m_surfaceMemoryPlaceholder = m_contentsTextureManager->createTexture(gfx::Size(), GL_RGBA); m_rendererInitialized = true; @@ -470,7 +470,7 @@ void LayerTreeHost::loseContext(int numTimes) m_proxy->loseContext(); } -PrioritizedTextureManager* LayerTreeHost::contentsTextureManager() const +PrioritizedResourceManager* LayerTreeHost::contentsTextureManager() const { return m_contentsTextureManager.get(); } -- cgit v1.1