Bug 70331 - Move default stylesheet loading to a separate function
Summary: Move default stylesheet loading to a separate function
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-10-18 08:27 PDT by Antti Koivisto
Modified: 2011-10-18 08:49 PDT (History)
0 users

See Also:


Attachments
patch (9.67 KB, patch)
2011-10-18 08:39 PDT, Antti Koivisto
kling: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2011-10-18 08:27:08 PDT
From CSSStyleSelector::styleForElement()
Comment 1 Antti Koivisto 2011-10-18 08:39:20 PDT
Created attachment 111447 [details]
patch
Comment 2 Andreas Kling 2011-10-18 08:43:27 PDT
Comment on attachment 111447 [details]
patch

View in context: https://bugs.webkit.org/attachment.cgi?id=111447&action=review

LGTM!

> Source/WebCore/css/CSSStyleSelector.cpp:1121
> -
> +    

Did you performance test this?
Comment 3 Antti Koivisto 2011-10-18 08:48:40 PDT
http://trac.webkit.org/changeset/97758
Comment 4 Antti Koivisto 2011-10-18 08:49:38 PDT
> Did you performance test this?

Nope. In an unlikely event it managed to slow down something I'm sure I'll notice in the future.