LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File buildfix.patch of Package chromium-square (Project home:difrex:chromium-square)

--- chromium/src/third_party/WebKit/Source/WebCore/platform/ScrollAnimatorNone.cpp
+++ chromium/src/third_party/WebKit/Source/WebCore/platform/ScrollAnimatorNone.cpp
@@ -96,6 +96,7 @@
         t -= 2.625 / 2.75;
         return 7.5625 * t * t + .984375;
     }
+    return t;
 }
 
 double ScrollAnimatorNone::PerAxisData::attackCurve(Curve curve, double deltaTime, double curveT, double startPosition, double attackPosition)
@@ -124,6 +125,7 @@
     case Bounce:
         return t;
     }
+    return t;
 }
 
 ScrollAnimatorNone::PerAxisData::PerAxisData(ScrollAnimatorNone* parent, float* currentPosition)