|
bindings: Makes CSSRule inherit from ScriptWrappable.
Makes CSSRule and its subclasses inherit from ScriptWrappable.
Amongst top 10 mobile web sites, only one web site instantiates
only one instance of CSSRule unless Developer Tools is opened.
Most of web pages don't instantiate CSSRules and its subclasses
(unless Developer Tools is opened), so it should be okay to make
CSSRule inherit from ScriptWrappable, although it increases the
size of CSSRule by 4 or 8 bytes (= the size of v8::Persistent).
BUG= 390065
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=185166
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+16 lines, -102 lines) |
Patch |
 |
D |
Source/bindings/core/v8/custom/V8CSSRuleCustom.cpp
|
View
|
|
1 chunk |
+0 lines, -83 lines |
0 comments
|
Download
|
 |
M |
Source/bindings/core/v8/custom/custom.gypi
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSCharsetRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSFilterRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSFontFaceRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSImportRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSKeyframeRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSKeyframesRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSMediaRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSPageRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSRule.h
|
View
|
|
1 chunk |
+2 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSRule.cpp
|
View
|
|
1 chunk |
+1 line, -13 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSRule.idl
|
View
|
|
2 chunks |
+1 line, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSStyleRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSSupportsRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSUnknownRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/CSSViewportRule.h
|
View
|
|
1 chunk |
+1 line, -0 lines |
0 comments
|
Download
|
Total messages: 8 (3 generated)
|