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

Unified Diff: third_party/WebKit/Source/core/observer/ResizeObserverController.h

Issue 2272163003: ResizeObserver: Olipan C++ tests (Closed)
Patch Set: CR fixes Created 4 years, 4 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 | « no previous file | third_party/WebKit/Source/web/tests/ResizeObserverTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/core/observer/ResizeObserverController.h
diff --git a/third_party/WebKit/Source/core/observer/ResizeObserverController.h b/third_party/WebKit/Source/core/observer/ResizeObserverController.h
index 49265289100c0c142bd2fa88d7d7cf2deb1e378d..a3b7a03a1d5bb83febd1b93f7d4c0d64f55e8fe0 100644
--- a/third_party/WebKit/Source/core/observer/ResizeObserverController.h
+++ b/third_party/WebKit/Source/core/observer/ResizeObserverController.h
@@ -38,6 +38,9 @@ public:
DECLARE_TRACE();
+ // For testing only.
+ const HeapHashSet<WeakMember<ResizeObserver>>& observers() { return m_observers; }
+
private:
// Active observers
HeapHashSet<WeakMember<ResizeObserver>> m_observers;
« no previous file with comments | « no previous file | third_party/WebKit/Source/web/tests/ResizeObserverTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698