Addressing post-review comments in r185916
authorzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jun 2015 20:03:28 +0000 (20:03 +0000)
committerzalan@apple.com <zalan@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 30 Jun 2015 20:03:28 +0000 (20:03 +0000)
* platform/LayoutUnit.h:
(WebCore::roundToDevicePixel):

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

Source/WebCore/ChangeLog
Source/WebCore/platform/LayoutUnit.h

index c341541..211fe9d 100644 (file)
@@ -1,3 +1,10 @@
+2015-06-30  Zalan Bujtas  <zalan@apple.com>
+
+        Addressing post-review comments in r185916
+
+        * platform/LayoutUnit.h:
+        (WebCore::roundToDevicePixel):
+
 2015-06-30  Matt Rajca  <mrajca@apple.com>
 
         MediaSession: Use setSessionInternal to set the default media session in HTMLMediaElement's constructor
index a647c51..6fa2cbb 100644 (file)
@@ -872,7 +872,7 @@ inline int floorToInt(LayoutUnit value)
     return value.floor();
 }
 
-inline float roundToDevicePixel(LayoutUnit value, const float pixelSnappingFactor, bool needsDirectionalRounding = false)
+inline float roundToDevicePixel(LayoutUnit value, float pixelSnappingFactor, bool needsDirectionalRounding = false)
 {
     double valueToRound = value.toDouble();
     if (needsDirectionalRounding)