| Index: Source/core/rendering/style/RenderStyle.cpp | 
| diff --git a/Source/core/rendering/style/RenderStyle.cpp b/Source/core/rendering/style/RenderStyle.cpp | 
| index f68e87495e8af2380e245c8f91eed85f016b2962..dd038901323beff4ea13f628e031ea0377bd54aa 100644 | 
| --- a/Source/core/rendering/style/RenderStyle.cpp | 
| +++ b/Source/core/rendering/style/RenderStyle.cpp | 
| @@ -1176,6 +1176,7 @@ const FontDescription& RenderStyle::fontDescription() const { return inherited-> | 
| float RenderStyle::specifiedFontSize() const { return fontDescription().specifiedSize(); } | 
| float RenderStyle::computedFontSize() const { return fontDescription().computedSize(); } | 
| int RenderStyle::fontSize() const { return fontDescription().computedPixelSize(); } | 
| +FontWeight RenderStyle::fontWeight() const { return fontDescription().weight(); } | 
|  | 
| float RenderStyle::wordSpacing() const { return fontDescription().wordSpacing(); } | 
| float RenderStyle::letterSpacing() const { return fontDescription().letterSpacing(); } | 
| @@ -1248,6 +1249,15 @@ void RenderStyle::setFontSize(float size) | 
| font().update(currentFontSelector); | 
| } | 
|  | 
| +void RenderStyle::setFontWeight(FontWeight weight) | 
| +{ | 
| +    FontSelector* currentFontSelector = font().fontSelector(); | 
| +    FontDescription desc(fontDescription()); | 
| +    desc.setWeight(weight); | 
| +    setFontDescription(desc); | 
| +    font().update(currentFontSelector); | 
| +} | 
| + | 
| void RenderStyle::getShadowExtent(const ShadowList* shadowList, LayoutUnit &top, LayoutUnit &right, LayoutUnit &bottom, LayoutUnit &left) const | 
| { | 
| top = 0; | 
|  |