Don't include CSSParser.h from other headers
Created attachment 279059 [details] Patch
Comment on attachment 279059 [details] Patch lovely
http://trac.webkit.org/changeset/200977
Comment on attachment 279059 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=279059&action=review > Source/WebCore/css/CSSProperty.h:107 > +typedef Vector<CSSProperty, 256> ParsedPropertyVector; This could be using instead of typedef. Why did we chose to change style? I thought that we were preferring using instead of typedef now in almost all cases.
(In reply to comment #4) > Comment on attachment 279059 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=279059&action=review > > > Source/WebCore/css/CSSProperty.h:107 > > +typedef Vector<CSSProperty, 256> ParsedPropertyVector; > > This could be using instead of typedef. Why did we chose to change style? I > thought that we were preferring using instead of typedef now in almost all > cases. I was not aware of this. We have a lot of typedefs, and I hadn't seen many usings, so I changed it. Is there any benefit either way?
Comment on attachment 279059 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=279059&action=review >>> Source/WebCore/css/CSSProperty.h:107 >>> +typedef Vector<CSSProperty, 256> ParsedPropertyVector; >> >> This could be using instead of typedef. Why did we chose to change style? I thought that we were preferring using instead of typedef now in almost all cases. > > I was not aware of this. We have a lot of typedefs, and I hadn't seen many usings, so I changed it. Is there any benefit either way? http://stackoverflow.com/questions/10747810/what-is-the-difference-between-typedef-and-using-in-c11