Index: third_party/WebKit/Source/platform/HostWindow.h |
diff --git a/third_party/WebKit/Source/platform/HostWindow.h b/third_party/WebKit/Source/platform/HostWindow.h |
index 0f7f4017d0c7290e4724b239ffacfd7c451a1af7..7327b0d9a21ea0a88fdb3b0ff50d9ff7eb3404f9 100644 |
--- a/third_party/WebKit/Source/platform/HostWindow.h |
+++ b/third_party/WebKit/Source/platform/HostWindow.h |
@@ -50,8 +50,8 @@ public: |
// Converts the rect from the viewport coordinates to screen coordinates. |
virtual IntRect viewportToScreen(const IntRect&) const = 0; |
- // Converts the length from the screen coordinates to the viewport coordinates. |
- virtual float screenToViewport(float length) const = 0; |
+ // Converts the scalar value from the window coordinates to the viewport coordinates. |
+ virtual float windowToViewport(float scalar) const = 0; |
virtual void scheduleAnimation(Widget*) = 0; |
}; |