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

Unified Diff: third_party/WebKit/Source/core/layout/line/InlineTextBox.h

Issue 2599483002: Extract helper function. (Closed)
Patch Set: Created 4 years 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/layout/line/InlineTextBox.h
diff --git a/third_party/WebKit/Source/core/layout/line/InlineTextBox.h b/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
index 8c0650a7a8618ae6135e7374484fc56d200825c4..e6d122c8d6606cf52a5185797cd3fd1c434cba06 100644
--- a/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
+++ b/third_party/WebKit/Source/core/layout/line/InlineTextBox.h
@@ -135,22 +135,20 @@ class CORE_EXPORT InlineTextBox : public InlineBox {
bool isSelected(int startPos, int endPos) const;
void selectionStartEnd(int& sPos, int& ePos) const;
- // These functions both paint markers and update the DocumentMarker's
Andrey Kraynov 2016/12/21 17:43:18 This comment seems outdated at the moment. paintDo
- // renderedRect.
virtual void paintDocumentMarker(GraphicsContext&,
const LayoutPoint& boxOrigin,
- DocumentMarker*,
+ const DocumentMarker&,
const ComputedStyle&,
const Font&,
bool grammar) const;
virtual void paintTextMatchMarkerForeground(const PaintInfo&,
const LayoutPoint& boxOrigin,
- DocumentMarker*,
+ const DocumentMarker&,
const ComputedStyle&,
const Font&) const;
virtual void paintTextMatchMarkerBackground(const PaintInfo&,
const LayoutPoint& boxOrigin,
- DocumentMarker*,
+ const DocumentMarker&,
const ComputedStyle&,
const Font&) const;

Powered by Google App Engine
This is Rietveld 408576698