[chromium] Remove unused variable (gcc 4.6 complains about this)
[WebKit-https.git] / Source / WebCore / platform / graphics / chromium / cc / CCDamageTracker.cpp
index 519399c87b87ef5f5cdeccc6a0e805840b1119d2..17226aa82091019398aedc2bc300d79118f3fa6d 100644 (file)
@@ -293,7 +293,7 @@ void CCDamageTracker::extendDamageForRenderSurface(CCLayerImpl* layer, FloatRect
     if (layer->replicaLayer() && layer->replicaLayer()->maskLayer()) {
         CCLayerImpl* replicaMaskLayer = layer->replicaLayer()->maskLayer();
 
-        FloatRect oldReplicaMaskRect = removeRectFromCurrentFrame(replicaMaskLayer->id());
+        removeRectFromCurrentFrame(replicaMaskLayer->id());
 
         // Compute the replica's "originTransform" that maps from the replica's origin space to the target surface origin space.
         TransformationMatrix replicaOriginTransform = layer->renderSurface()->originTransform();