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

Unified Diff: third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h

Issue 1858163002: Rename inDocument() to inShadowIncludingDocument() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 4 years, 8 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 | « third_party/WebKit/Source/core/dom/Range.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h
diff --git a/third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h b/third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h
index 85ad569576a50c8cd43a7182b7ae26d3a942f666..11c781262f3370e22c65611f82fdcfc597aadd33 100644
--- a/third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h
+++ b/third_party/WebKit/Source/core/dom/RangeBoundaryPoint.h
@@ -39,7 +39,7 @@ public:
explicit RangeBoundaryPoint(const RangeBoundaryPoint&);
- bool inDocument() const;
+ bool inShadowIncludingDocument() const;
const Position toPosition() const;
Node* container() const;
@@ -107,9 +107,9 @@ inline void RangeBoundaryPoint::ensureOffsetIsValid() const
m_offsetInContainer = m_childBeforeBoundary->nodeIndex() + 1;
}
-inline bool RangeBoundaryPoint::inDocument() const
+inline bool RangeBoundaryPoint::inShadowIncludingDocument() const
{
- return m_containerNode && m_containerNode->inDocument();
+ return m_containerNode && m_containerNode->inShadowIncludingDocument();
}
inline const Position RangeBoundaryPoint::toPosition() const
« no previous file with comments | « third_party/WebKit/Source/core/dom/Range.cpp ('k') | third_party/WebKit/Source/core/dom/ScriptLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698