| Index: third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
|
| index c1eea4842862e0bc8e8526944aa8f6114e3b10f5..e558f765661de1e62f4c1abfa89346016a32d86a 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleResolverState.h
|
| @@ -202,8 +202,10 @@ class CORE_EXPORT StyleResolverState {
|
| font_builder_.DidChangeWritingMode();
|
| }
|
| void SetTextOrientation(ETextOrientation text_orientation) {
|
| - if (style_->SetTextOrientation(text_orientation))
|
| + if (style_->GetTextOrientation() != text_orientation) {
|
| + style_->SetTextOrientation(text_orientation);
|
| font_builder_.DidChangeTextOrientation();
|
| + }
|
| }
|
|
|
| void SetHasDirAutoAttribute(bool value) { has_dir_auto_attribute_ = value; }
|
|
|