Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(670)

Unified Diff: third_party/WebKit/Source/platform/Widget.cpp

Issue 2388303002: reflow comments in platform/ (Closed)
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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;
« no previous file with comments | « third_party/WebKit/Source/platform/Widget.h ('k') | third_party/WebKit/Source/platform/WindowsKeyboardCodes.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698