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

Unified Diff: third_party/WebKit/Source/core/frame/FrameView.cpp

Issue 2886893008: [DMC #8] Rename DocumentMarkerController::RenderedRectsForMarkers() (Closed)
Patch Set: Reformat FrameView Created 3 years, 7 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 | « third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/frame/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index b178acc97845b37a622b37cb8d4961b735e5b621..9d43c180c42b996decd95ce830188c6e721cb1f4 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -2681,11 +2681,12 @@ void FrameView::InvalidatePaintForTickmarks() {
}
void FrameView::GetTickmarks(Vector<IntRect>& tickmarks) const {
- if (!tickmarks_.IsEmpty())
+ if (!tickmarks_.IsEmpty()) {
tickmarks = tickmarks_;
- else
- tickmarks = GetFrame().GetDocument()->Markers().RenderedRectsForMarkers(
- DocumentMarker::kTextMatch);
+ return;
+ }
+ tickmarks =
+ GetFrame().GetDocument()->Markers().RenderedRectsForTextMatchMarkers();
}
void FrameView::SetInputEventsTransformForEmulation(
« no previous file with comments | « third_party/WebKit/Source/core/editing/markers/DocumentMarkerControllerTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698