| Index: third_party/WebKit/Source/platform/Widget.cpp
|
| diff --git a/third_party/WebKit/Source/platform/Widget.cpp b/third_party/WebKit/Source/platform/Widget.cpp
|
| index 1017dcc298ada5943e49226dd50a871fa02708da..7176f54c1984f8cdd704d128d85554b73e7f8541 100644
|
| --- a/third_party/WebKit/Source/platform/Widget.cpp
|
| +++ b/third_party/WebKit/Source/platform/Widget.cpp
|
| @@ -83,13 +83,13 @@ IntPoint Widget::convertFromRootFrame(const IntPoint& pointInRootFrame) const {
|
|
|
| FloatPoint Widget::convertFromRootFrame(
|
| const FloatPoint& pointInRootFrame) const {
|
| - // Widgets / windows are required to be IntPoint aligned, but we may need to convert
|
| - // FloatPoint values within them (eg. for event co-ordinates).
|
| + // Widgets / windows are required to be IntPoint aligned, but we may need to
|
| + // convert FloatPoint values within them (eg. for event co-ordinates).
|
| IntPoint flooredPoint = flooredIntPoint(pointInRootFrame);
|
| FloatPoint parentPoint = this->convertFromRootFrame(flooredPoint);
|
| FloatSize windowFraction = pointInRootFrame - flooredPoint;
|
| - // Use linear interpolation handle any fractional value (eg. for iframes subject to a transform
|
| - // beyond just a simple translation).
|
| + // Use linear interpolation handle any fractional value (eg. for iframes
|
| + // subject to a transform beyond just a simple translation).
|
| // FIXME: Add FloatPoint variants of all co-ordinate space conversion APIs.
|
| if (!windowFraction.isEmpty()) {
|
| const int kFactor = 1000;
|
|
|