[chromium] Build fix for clang builds after r123628
authorshawnsingh@chromium.org <shawnsingh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Jul 2012 17:43:51 +0000 (17:43 +0000)
committershawnsingh@chromium.org <shawnsingh@chromium.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 25 Jul 2012 17:43:51 +0000 (17:43 +0000)
https://bugs.webkit.org/show_bug.cgi?id=92266

Reviewed by Adrienne Walker.

An un-used variable was causing build failures for clang builds
after the refactoring in r123628.  It is correct to simply remove
this value.

* platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
(WebCore::calculateDrawTransformsInternal):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123633 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/ChangeLog
Source/WebCore/platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp

index b514350..29b112f 100644 (file)
@@ -1,3 +1,17 @@
+2012-07-25  Shawn Singh  <shawnsingh@chromium.org>
+
+        [chromium] Build fix for clang builds after r123628
+        https://bugs.webkit.org/show_bug.cgi?id=92266
+
+        Reviewed by Adrienne Walker.
+
+        An un-used variable was causing build failures for clang builds
+        after the refactoring in r123628.  It is correct to simply remove
+        this value.
+
+        * platform/graphics/chromium/cc/CCLayerTreeHostCommon.cpp:
+        (WebCore::calculateDrawTransformsInternal):
+
 2012-07-25  Hans Wennborg  <hans@chromium.org>
 
         Speech JavaScript API: extract function from SpeechRecognitionResult::emma()
index 9cb91f1..53d265c 100644 (file)
@@ -730,7 +730,6 @@ static void calculateDrawTransformsInternal(LayerType* layer, LayerType* rootLay
     if (layer->renderSurface() && layer != rootLayer) {
         RenderSurfaceType* renderSurface = layer->renderSurface();
         IntRect clippedContentRect = localDrawableContentRectOfSubtree;
-        FloatPoint surfaceCenter = FloatRect(clippedContentRect).center();
 
         // The render surface clipRect is expressed in the space where this surface draws, i.e. the same space as clipRectFromAncestor.
         if (ancestorClipsSubtree)