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

Unified Diff: Source/core/frame/FrameView.h

Issue 1053123007: Invalidate paint of tickmarks on document change (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 8 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
« no previous file with comments | « Source/core/dom/RenderedDocumentMarker.h ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/frame/FrameView.h
diff --git a/Source/core/frame/FrameView.h b/Source/core/frame/FrameView.h
index c9570bf4827c5b3ec41e44eea523bc6369fe8c42..1a2bcd383df6be561b2025167bc1b455ebeddfd4 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;
+ invalidatePaintForTickmarks();
+ }
+
+ void invalidatePaintForTickmarks() const;
// Since the compositor can resize the viewport due to top controls and
// commit scroll offsets before a WebView::resize occurs, we need to adjust
« no previous file with comments | « Source/core/dom/RenderedDocumentMarker.h ('k') | Source/core/frame/FrameView.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698