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

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

Issue 2646633002: IntersectionObserver: remove gc-timing-revealing execeptions. (Closed)
Patch Set: Created 3 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
Index: third_party/WebKit/Source/core/dom/IntersectionObservation.h
diff --git a/third_party/WebKit/Source/core/dom/IntersectionObservation.h b/third_party/WebKit/Source/core/dom/IntersectionObservation.h
index 68fe73374e38b840a43947da08972b6c132a8c69..dcb93231cd50f05f279f81ac5504dec7895bad55 100644
--- a/third_party/WebKit/Source/core/dom/IntersectionObservation.h
+++ b/third_party/WebKit/Source/core/dom/IntersectionObservation.h
@@ -20,13 +20,12 @@ class IntersectionObservation final
Element&,
bool shouldReportRootBounds);
- IntersectionObserver& observer() const { return *m_observer; }
+ IntersectionObserver* observer() const { return m_observer.get(); }
Element* target() const { return m_target; }
unsigned lastThresholdIndex() const { return m_lastThresholdIndex; }
void setLastThresholdIndex(unsigned index) { m_lastThresholdIndex = index; }
void computeIntersectionObservations(DOMHighResTimeStamp);
void disconnect();
- void clearRootAndRemoveFromTarget();
DECLARE_TRACE();

Powered by Google App Engine
This is Rietveld 408576698