DescriptionSome new tab ui fixes.
1) Always intialize the css cache. Previously we were only
initializing if not in incognito mode. If the first NTP was an
incognito page, it wouldn't be styled.
2) Small optimization in generating the HTML to avoid calling
ReplaceFirstSubstringAfterOffset which would need to move the
bytes after the placeholder.
3) Only generate the css for the incognito or normal mode. Since
the NTP only needs one, we only need to generate one.
BUG=26228
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30527
Patch Set 1 #
Total comments: 1
Messages
Total messages: 3 (0 generated)
|