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

Unified Diff: third_party/WebKit/Source/core/paint/FramePainter.cpp

Issue 2387883002: Use float for scroll offset. (Closed)
Patch Set: Fix README.md 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/core/paint/FramePainter.cpp
diff --git a/third_party/WebKit/Source/core/paint/FramePainter.cpp b/third_party/WebKit/Source/core/paint/FramePainter.cpp
index a1f9c02187b2a19f3bdbc4436a8e72b8bc9d349f..91724265faac2b5903d5174c0634453e5a300f8d 100644
--- a/third_party/WebKit/Source/core/paint/FramePainter.cpp
+++ b/third_party/WebKit/Source/core/paint/FramePainter.cpp
@@ -74,7 +74,7 @@ void FramePainter::paint(GraphicsContext& context,
frameView().visibleContentRect());
documentDirtyRect.moveBy(-frameView().location() +
- frameView().scrollPosition());
+ frameView().scrollOffsetInt());
paintContents(context, globalPaintFlags, documentDirtyRect);
}

Powered by Google App Engine
This is Rietveld 408576698