Fix bustage from changeset 8c767b950381. a=bustage
authorBas Schouten <bschouten@mozilla.com>
Fri, 20 Aug 2010 05:58:44 +0200
changeset 51001 9976121e4d31118e7126767d0c5cef2d57f958e0
parent 51000 2f75f983440c2084e3da3cbe5a9d54a3b52af91e
child 51002 170dc0922c2326d01523685dd9a59805fd9adee6
push idunknown
push userunknown
push dateunknown
reviewersbustage
milestone2.0b5pre
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Fix bustage from changeset 8c767b950381. a=bustage
gfx/layers/basic/BasicLayers.cpp
--- a/gfx/layers/basic/BasicLayers.cpp
+++ b/gfx/layers/basic/BasicLayers.cpp
@@ -1096,17 +1096,17 @@ BasicLayerManager::ClearCachedResources(
     ClearLayer(mRoot);
   }
 
   mCachedSurface.Expire();
 }
 void
 BasicLayerManager::ClearLayer(Layer* aLayer)
 {
-  ToData(aLayer)->ClearResources();
+  ToData(aLayer)->ClearCachedResources();
   for (Layer* child = aLayer->GetFirstChild(); child;
        child = child->GetNextSibling()) {
     ClearLayer(child);
   }
 }
 
 already_AddRefed<ThebesLayer>
 BasicLayerManager::CreateThebesLayer()