Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(752)

Unified Diff: sky/engine/core/html/HTMLStyleElement.cpp

Issue 864533003: Remove HTMLStyleElement::scopingNode(). (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « sky/engine/core/html/HTMLStyleElement.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/html/HTMLStyleElement.cpp
diff --git a/sky/engine/core/html/HTMLStyleElement.cpp b/sky/engine/core/html/HTMLStyleElement.cpp
index d915dcfe3c93c43b714c31bf7002bddbb45ce11b..e3b70a4faca129542093760984c2d813558234a8 100644
--- a/sky/engine/core/html/HTMLStyleElement.cpp
+++ b/sky/engine/core/html/HTMLStyleElement.cpp
@@ -104,17 +104,6 @@ const AtomicString& HTMLStyleElement::media() const
return getAttribute(HTMLNames::mediaAttr);
}
-ContainerNode* HTMLStyleElement::scopingNode()
-{
- if (!inActiveDocument())
- return 0;
-
- if (isInShadowTree())
- return containingShadowRoot();
-
- return &document();
-}
-
void HTMLStyleElement::clearSheet()
{
ASSERT(m_sheet);
« no previous file with comments | « sky/engine/core/html/HTMLStyleElement.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698