Title: [114284] trunk/Source/WebCore
Revision
114284
Author
commit-qu...@webkit.org
Date
2012-04-16 11:41:37 -0700 (Mon, 16 Apr 2012)

Log Message

[chromium] Delete uncalled unreserveContentsTextures function
https://bugs.webkit.org/show_bug.cgi?id=84005

Patch by James Robinson <jam...@chromium.org> on 2012-04-16
Reviewed by Adrienne Walker.

This is vestigal dead code.

* platform/graphics/chromium/Canvas2DLayerChromium.cpp:
* platform/graphics/chromium/Canvas2DLayerChromium.h:
(Canvas2DLayerChromium):
* platform/graphics/chromium/LayerChromium.h:
* platform/graphics/chromium/cc/CCLayerImpl.h:
(CCLayerImpl):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (114283 => 114284)


--- trunk/Source/WebCore/ChangeLog	2012-04-16 18:32:13 UTC (rev 114283)
+++ trunk/Source/WebCore/ChangeLog	2012-04-16 18:41:37 UTC (rev 114284)
@@ -1,3 +1,19 @@
+2012-04-16  James Robinson  <jam...@chromium.org>
+
+        [chromium] Delete uncalled unreserveContentsTextures function
+        https://bugs.webkit.org/show_bug.cgi?id=84005
+
+        Reviewed by Adrienne Walker.
+
+        This is vestigal dead code.
+
+        * platform/graphics/chromium/Canvas2DLayerChromium.cpp:
+        * platform/graphics/chromium/Canvas2DLayerChromium.h:
+        (Canvas2DLayerChromium):
+        * platform/graphics/chromium/LayerChromium.h:
+        * platform/graphics/chromium/cc/CCLayerImpl.h:
+        (CCLayerImpl):
+
 2012-04-13  Simon Fraser  <simon.fra...@apple.com>
 
         Avoid using backing store for compositing layers that just need to clip

Modified: trunk/Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.cpp (114283 => 114284)


--- trunk/Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.cpp	2012-04-16 18:32:13 UTC (rev 114283)
+++ trunk/Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.cpp	2012-04-16 18:41:37 UTC (rev 114284)
@@ -144,12 +144,6 @@
         textureLayer->setTextureId(m_backTextureId);
 }
 
-void Canvas2DLayerChromium::unreserveContentsTexture()
-{
-    if (m_useDoubleBuffering)
-        m_frontTexture->unreserve();
 }
 
-}
-
 #endif // USE(ACCELERATED_COMPOSITING)

Modified: trunk/Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.h (114283 => 114284)


--- trunk/Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.h	2012-04-16 18:32:13 UTC (rev 114283)
+++ trunk/Source/WebCore/platform/graphics/chromium/Canvas2DLayerChromium.h	2012-04-16 18:41:37 UTC (rev 114284)
@@ -57,7 +57,6 @@
     virtual bool drawsContent() const OVERRIDE;
     virtual void update(CCTextureUpdater&, const CCOcclusionTracker*) OVERRIDE;
     virtual void pushPropertiesTo(CCLayerImpl*) OVERRIDE;
-    virtual void unreserveContentsTexture() OVERRIDE;
 
     void setCanvas(SkCanvas*);
 

Modified: trunk/Source/WebCore/platform/graphics/chromium/LayerChromium.h (114283 => 114284)


--- trunk/Source/WebCore/platform/graphics/chromium/LayerChromium.h	2012-04-16 18:32:13 UTC (rev 114283)
+++ trunk/Source/WebCore/platform/graphics/chromium/LayerChromium.h	2012-04-16 18:41:37 UTC (rev 114284)
@@ -179,7 +179,6 @@
     virtual void update(CCTextureUpdater&, const CCOcclusionTracker*) { }
     virtual void idleUpdate(CCTextureUpdater&, const CCOcclusionTracker*) { }
     virtual void setIsMask(bool) { }
-    virtual void unreserveContentsTexture() { }
     virtual void bindContentsTexture() { }
     virtual void protectVisibleTileTextures() { }
     virtual bool needsContentsScale() const { return false; }

Modified: trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerImpl.h (114283 => 114284)


--- trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerImpl.h	2012-04-16 18:32:13 UTC (rev 114283)
+++ trunk/Source/WebCore/platform/graphics/chromium/cc/CCLayerImpl.h	2012-04-16 18:41:37 UTC (rev 114284)
@@ -88,7 +88,6 @@
     virtual void didDraw() { }
     void appendDebugBorderQuad(CCQuadCuller&, const CCSharedQuadState*) const;
 
-    void unreserveContentsTexture();
     virtual void bindContentsTexture(LayerRendererChromium*);
 
     // Returns true if this layer has content to draw.
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to