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

Unified Diff: Source/core/paint/TextPainter.h

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 11 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: Source/core/paint/TextPainter.h
diff --git a/Source/core/paint/TextPainter.h b/Source/core/paint/TextPainter.h
index 55c847f5e2c52edb78b5205477b7f4f8dcd388aa..8b64e78f6895b7bbb0ffc5897bf0acc0ff51166d 100644
--- a/Source/core/paint/TextPainter.h
+++ b/Source/core/paint/TextPainter.h
@@ -57,7 +57,7 @@ public:
}
bool operator!=(const Style& other) { return !(*this == other); }
};
- static Style textPaintingStyle(RenderObject&, RenderStyle*, bool forceBlackText, bool isPrinting);
+ static Style textPaintingStyle(RenderObject&, const RenderStyle*, bool forceBlackText, bool isPrinting);
static Style selectionPaintingStyle(RenderObject&, bool haveSelection, bool forceBlackText, bool isPrinting, const Style& textStyle);
enum RotationDirection { Counterclockwise, Clockwise };

Powered by Google App Engine
This is Rietveld 408576698