Chromium Code Reviews| Index: Source/core/dom/Document.h |
| diff --git a/Source/core/dom/Document.h b/Source/core/dom/Document.h |
| index 6641e81cd0c15ffbdec3464236b420c6af5d5a7b..316aa4a7d15619c0e7fc5ad57ca518d6c4edfc0c 100644 |
| --- a/Source/core/dom/Document.h |
| +++ b/Source/core/dom/Document.h |
| @@ -245,6 +245,8 @@ public: |
| } |
| virtual ~Document(); |
| + operator ExecutionContext*() { return this; } |
|
Jens Widell
2014/06/18 12:53:29
Operator added primarily to make authoring this pa
haraken
2014/06/18 13:15:01
I think we want to avoid implicit conversions as m
Jens Widell
2014/06/18 14:19:43
I don't disagree. OTOH, there's a public inheritan
tkent
2014/06/18 23:44:24
Changing Document arguments of factory functions t
|
| + |
| MediaQueryMatcher& mediaQueryMatcher(); |
| void mediaQueryAffectingValueChanged(); |