Index: Source/core/frame/FrameView.cpp |
diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp |
index 8d992beee1db5f49898c82e651197c1585ac4744..352b13a4e3b15d763b3ea60bf1552b3d47a55204 100644 |
--- a/Source/core/frame/FrameView.cpp |
+++ b/Source/core/frame/FrameView.cpp |
@@ -1078,7 +1078,8 @@ void FrameView::layout() |
if (frame().page()) |
frame().page()->chrome().client().layoutUpdated(m_frame.get()); |
- frame().document()->markers().updateRenderedRectsForMarkers(); |
+ DocumentMarkerController& markers = frame().document()->markers(); |
chrishtr
2015/04/20 17:53:25
The change here looks unnecessary.
Xianzhu
2015/04/20 18:13:48
Done.
|
+ markers.updateRenderedRectsForMarkers(); |
} |
// The plan is to move to compositor-queried paint invalidation, in which case this |
@@ -2233,6 +2234,12 @@ void FrameView::scrollTo(const DoublePoint& newPosition) |
frame().loader().client()->didChangeScrollOffset(); |
} |
+void FrameView::invalidatePaintForTickmarks() const |
+{ |
+ if (Scrollbar* scrollbar = verticalScrollbar()) |
+ scrollbar->invalidate(); |
+} |
+ |
void FrameView::invalidateScrollbarRect(Scrollbar* scrollbar, const IntRect& rect) |
{ |
// Add in our offset within the FrameView. |