Reviewed by Hyatt.
[WebKit-https.git] / WebCore / rendering / render_style.h
index 6e775eee2499bde00566ccbc53035c07b6de67bd..4082ad875c8de7f18d52e94262f6febeaf386247 100644 (file)
@@ -1086,6 +1086,7 @@ public:
     void inheritFrom(const RenderStyle* inheritParent);
 
     PseudoId styleType() { return  static_cast<PseudoId>(noninherited_flags._styleType); }
+    void setStyleType(PseudoId styleType) { noninherited_flags._styleType = styleType; }
 
     RenderStyle* getPseudoStyle(PseudoId pi);
     void addPseudoStyle(RenderStyle* pseudo);