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

Unified Diff: third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp

Issue 1740973003: Remove unused NodeIntersectionObserverData predicates. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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/NodeIntersectionObserverData.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
diff --git a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp b/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
index b52afc0ec8528bf136ac8e6f09e20b5a616e095e..5eadb0fb18e94fd62fa17eaf27829516fae8faa5 100644
--- a/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
+++ b/third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.cpp
@@ -15,16 +15,6 @@ NodeIntersectionObserverData::NodeIntersectionObserverData() { }
NodeIntersectionObserverData::~NodeIntersectionObserverData() { }
-bool NodeIntersectionObserverData::hasIntersectionObserver() const
-{
- return !m_intersectionObservers.isEmpty();
-}
-
-bool NodeIntersectionObserverData::hasIntersectionObservation() const
-{
- return !m_intersectionObservations.isEmpty();
-}
-
IntersectionObservation* NodeIntersectionObserverData::getObservationFor(IntersectionObserver& observer)
{
auto i = m_intersectionObservations.find(&observer);
« no previous file with comments | « third_party/WebKit/Source/core/dom/NodeIntersectionObserverData.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698