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

Unified Diff: trunk/Source/core/dom/StyleSheetScopingNodeList.h

Issue 75463008: Revert 162247 "Revert 162180 "[Refactoring] Remove include "core..." (Closed) Base URL: svn://svn.chromium.org/blink/
Patch Set: Created 7 years, 1 month 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 | « trunk/Source/core/dom/StyleEngine.cpp ('k') | trunk/Source/core/dom/StyleSheetScopingNodeList.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: trunk/Source/core/dom/StyleSheetScopingNodeList.h
===================================================================
--- trunk/Source/core/dom/StyleSheetScopingNodeList.h (revision 162247)
+++ trunk/Source/core/dom/StyleSheetScopingNodeList.h (working copy)
@@ -34,16 +34,6 @@
namespace WebCore {
-inline bool isTreeScopeRoot(const Node* node)
-{
- return !node || node->isDocumentNode() || node->isShadowRoot();
-}
-
-inline bool isTreeScopeRoot(const Node& node)
-{
- return node.isDocumentNode() || node.isShadowRoot();
-}
-
class StyleSheetScopingNodeList {
WTF_MAKE_NONCOPYABLE(StyleSheetScopingNodeList); WTF_MAKE_FAST_ALLOCATED;
public:
« no previous file with comments | « trunk/Source/core/dom/StyleEngine.cpp ('k') | trunk/Source/core/dom/StyleSheetScopingNodeList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698