Commit 7a8eebd5 authored by Hayato Ito's avatar Hayato Ito Committed by Commit Bot

Remove TODO comment

Element::GetShadowRoot() doesn't have to be inlined.
That would cause element.h to depend on element_rare_data.h, which we wouldn't
want.

Change-Id: Ib20c6c5b2e3b13510c7eb142704df53439bfcc9d
Reviewed-on: https://chromium-review.googlesource.com/1248344
Commit-Queue: Hayato Ito <hayato@chromium.org>
Reviewed-by: default avatarKent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#594607}
parent 9da0291b
...@@ -2728,7 +2728,6 @@ ShadowRoot& Element::CreateAndAttachShadowRoot(ShadowRootType type) { ...@@ -2728,7 +2728,6 @@ ShadowRoot& Element::CreateAndAttachShadowRoot(ShadowRootType type) {
return *shadow_root; return *shadow_root;
} }
// TODO(kochi): inline this.
ShadowRoot* Element::GetShadowRoot() const { ShadowRoot* Element::GetShadowRoot() const {
return HasRareData() ? GetElementRareData()->GetShadowRoot() : nullptr; return HasRareData() ? GetElementRareData()->GetShadowRoot() : nullptr;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment