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

Unified Diff: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h

Issue 2124553002: Refine cull rect for SVGInlineTextBox painting (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add boundsForDrawingRecorder; expose helper from InlineTextBoxPainter Created 4 years, 5 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
Index: third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
diff --git a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
index 5704099fd95dd16d6b194ca0eda128110980ee26..73e4615c01d2d6b1142047c93926eee41f388ada 100644
--- a/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
+++ b/third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.h
@@ -45,6 +45,7 @@ public:
private:
bool shouldPaintSelection(const PaintInfo&) const;
+ FloatRect boundsForDrawingRecorder(const LayoutPoint&, bool includeSelectionRect) const;
void paintTextFragments(const PaintInfo&, LayoutObject&);
void paintDecoration(const PaintInfo&, TextDecoration, const SVGTextFragment&);
bool setupTextPaint(const PaintInfo&, const ComputedStyle&, LayoutSVGResourceMode, SkPaint&);

Powered by Google App Engine
This is Rietveld 408576698