Commit 0c638e8
committed
Weaken access requirements for Element internals
These methods were protected since day 1.
If you only used RootElement, you didn't notice this,
but HHVM did not allow RootElement to invoke your
Element methods, unless you made them public.
hhvm@next requires that RootElement have public
methods, since calling protected interface methods is banned.
This is a breaking change, but users that used sgml-stream
(with or without non-RootElement elements) would not
notice, unless their custom element type has never been rendered.1 parent 550bce7 commit 0c638e8
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
0 commit comments