Chromium Code Reviews| Index: Source/core/frame/FrameView.h |
| diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h |
| index ffe0ebc4c1a899903698ffeb9299eeeaf8196932..8a3b2b570c2e608d6dac90faae3b2f6ef4e447c7 100644 |
| --- a/Source/core/frame/FrameView.h |
| +++ b/Source/core/frame/FrameView.h |
| @@ -340,7 +340,13 @@ public: |
| // Sets the tickmarks for the FrameView, overriding the default behavior |
| // which is to display the tickmarks corresponding to find results. |
| // If |m_tickmarks| is empty, the default behavior is restored. |
| - void setTickmarks(const Vector<IntRect>& tickmarks) { m_tickmarks = tickmarks; } |
| + void setTickmarks(const Vector<IntRect>& tickmarks) |
| + { |
| + m_tickmarks = tickmarks; |
| + invalidatePaintOfTickmarks(); |
| + } |
| + |
| + void invalidatePaintOfTickmarks() const; |
|
chrishtr
2015/04/17 23:21:42
invalidatePaintForTickmarks
Xianzhu
2015/04/18 02:13:48
Done.
|
| // Since the compositor can resize the viewport due to top controls and |
| // commit scroll offsets before a WebView::resize occurs, we need to adjust |