Title: [108705] branches/subpixellayout/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp
Revision
108705
Author
[email protected]
Date
2012-02-23 17:37:25 -0800 (Thu, 23 Feb 2012)

Log Message

Fix QT build on branch.

Modified Paths


Diff

Modified: branches/subpixellayout/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp (108704 => 108705)


--- branches/subpixellayout/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp	2012-02-24 01:33:26 UTC (rev 108704)
+++ branches/subpixellayout/Source/WebCore/platform/graphics/texmap/TextureMapperLayer.cpp	2012-02-24 01:37:25 UTC (rev 108705)
@@ -276,11 +276,11 @@
         return source;
 
     RefPtr<BitmapTexture> filterSurface(source);
-    int leftOutset, topOutset, bottomOutset, rightOutset;
+    LayoutUnit leftOutset, topOutset, bottomOutset, rightOutset;
     if (filters.hasOutsets()) {
         filters.getOutsets(topOutset, rightOutset, bottomOutset, leftOutset);
         IntRect unfilteredTargetRect(targetRect);
-        targetRect.move(std::max(0, -leftOutset), std::max(0, -topOutset));
+        targetRect.move(std::max(zeroLayoutUnit, -leftOutset), std::max(zeroLayoutUnit, -topOutset));
         targetRect.expand(leftOutset + rightOutset, topOutset + bottomOutset);
         targetRect.unite(unfilteredTargetRect);
         filterSurface = textureMapper->acquireTextureFromPool(targetRect.size());
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to