Bug 32869

Summary: Web Inspector: simplify highlighters definition.
Product: WebKit Reporter: Pavel Feldman <pfeldman>
Component: Web Inspector (Deprecated)Assignee: Pavel Feldman <pfeldman>
Severity: Normal CC: bweinstein, joepeck, rik, timothy, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Description Flags
[PATCH] Proposed change timothy: review+

Description Pavel Feldman 2009-12-22 07:37:29 PST
I was experimenting with canvas-based source rendering and came across some unnecessary highlighter complexities.
Comment 1 Pavel Feldman 2009-12-22 07:38:51 PST
Created attachment 45384 [details]
[PATCH] Proposed change
Comment 2 WebKit Review Bot 2009-12-22 07:43:52 PST
style-queue ran check-webkit-style on attachment 45384 [details] without any errors.
Comment 3 Timothy Hatcher 2009-12-22 10:41:26 PST
Comment on attachment 45384 [details]
[PATCH] Proposed change

> +      ].keySet();
> +    
> +    const valueKeywords = [

2 space indent infront of ].keySet().

Nice clean up!
Comment 4 Pavel Feldman 2009-12-22 12:10:13 PST
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