I was experimenting with canvas-based source rendering and came across some unnecessary highlighter complexities.
Created attachment 45384 [details] [PATCH] Proposed change
style-queue ran check-webkit-style on attachment 45384 [details] without any errors.
Comment on attachment 45384 [details] [PATCH] Proposed change > + ].keySet(); > + > + const valueKeywords = [ 2 space indent infront of ].keySet(). Nice clean up!
Committing to http://svn.webkit.org/repository/webkit/trunk ... M LayoutTests/ChangeLog M LayoutTests/inspector/syntax-highlight-css-expected.txt M LayoutTests/inspector/syntax-highlight-javascript-expected.txt M LayoutTests/inspector/syntax-highlight.js M WebCore/ChangeLog M WebCore/inspector/front-end/CSSSourceSyntaxHighlighter.js M WebCore/inspector/front-end/JavaScriptSourceSyntaxHighlighter.js M WebCore/inspector/front-end/SourceSyntaxHighlighter.js M WebCore/inspector/front-end/utilities.js Committed r52495