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

Unified Diff: Source/core/css/resolver/FontBuilder.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/css/resolver/FontBuilder.h
diff --git a/Source/core/css/resolver/FontBuilder.h b/Source/core/css/resolver/FontBuilder.h
index 09efe4066af8dd8a1ddcf97f8397c8d20e5be44d..79ff8768d54200dfab23dc9ed93339b6f933f427 100644
--- a/Source/core/css/resolver/FontBuilder.h
+++ b/Source/core/css/resolver/FontBuilder.h
@@ -98,11 +98,11 @@ private:
void setFamilyDescription(FontDescription&, const FontDescription::FamilyDescription&);
void setSize(FontDescription&, const FontDescription::Size&);
- void checkForOrientationChange(RenderStyle*);
+ void checkForOrientationChange(const RenderStyle*);
// This function fixes up the default font size if it detects that the current generic font family has changed. -dwh
- void checkForGenericFamilyChange(RenderStyle*, const RenderStyle* parentStyle);
- void updateComputedSize(RenderStyle*, const RenderStyle* parentStyle);
- void updateComputedSize(FontDescription&, RenderStyle*);
+ void checkForGenericFamilyChange(const RenderStyle*, const RenderStyle* parentStyle);
+ void updateComputedSize(const RenderStyle*, const RenderStyle* parentStyle);
+ void updateComputedSize(FontDescription&, const RenderStyle*);
float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);

Powered by Google App Engine
This is Rietveld 408576698