| Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
|
| index b94ef5b4aba32e2329c7563a189484ea56079485..5b95e1925395597097e8edd45e60d47b177fdfd2 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
|
| @@ -52,14 +52,17 @@ class CORE_EXPORT ShadowRoot final : public DocumentFragment, public TreeScope {
|
| USING_GARBAGE_COLLECTED_MIXIN(ShadowRoot);
|
|
|
| public:
|
| - // FIXME: Current implementation does not work well if a shadow root is dynamically created.
|
| - // So multiple shadow subtrees in several elements are prohibited.
|
| - // See https://github.com/w3c/webcomponents/issues/102 and http://crbug.com/234020
|
| + // FIXME: Current implementation does not work well if a shadow root is
|
| + // dynamically created. So multiple shadow subtrees in several elements are
|
| + // prohibited.
|
| + // See https://github.com/w3c/webcomponents/issues/102 and
|
| + // http://crbug.com/234020
|
| static ShadowRoot* create(Document& document, ShadowRootType type) {
|
| return new ShadowRoot(document, type);
|
| }
|
|
|
| - // Disambiguate between Node and TreeScope hierarchies; TreeScope's implementation is simpler.
|
| + // Disambiguate between Node and TreeScope hierarchies; TreeScope's
|
| + // implementation is simpler.
|
| using TreeScope::document;
|
| using TreeScope::getElementById;
|
|
|
|
|