Unreviewed, rolling out r110929.
[WebKit-https.git] / Source / WebCore / platform / graphics / chromium / ImageLayerChromium.cpp
index 3939158..611ab2a 100644 (file)
@@ -158,7 +158,7 @@ void ImageLayerChromium::setContents(Image* contents)
     setNeedsDisplay();
 }
 
-void ImageLayerChromium::paintContentsIfDirty(const CCOcclusionTracker* occlusion)
+void ImageLayerChromium::paintContentsIfDirty(const Region& occludedScreenSpace)
 {
     createTextureUpdaterIfNeeded();
     if (m_needsDisplay) {
@@ -168,7 +168,7 @@ void ImageLayerChromium::paintContentsIfDirty(const CCOcclusionTracker* occlusio
         m_needsDisplay = false;
     }
 
-    prepareToUpdate(visibleLayerRect(), occlusion);
+    prepareToUpdate(visibleLayerRect(), occludedScreenSpace);
 }
 
 void ImageLayerChromium::createTextureUpdaterIfNeeded()