summaryrefslogtreecommitdiff
path: root/dom/base/ResizeObserver.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/base/ResizeObserver.h')
-rw-r--r--dom/base/ResizeObserver.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/dom/base/ResizeObserver.h b/dom/base/ResizeObserver.h
index 56675693ce..ca87a080b4 100644
--- a/dom/base/ResizeObserver.h
+++ b/dom/base/ResizeObserver.h
@@ -163,14 +163,10 @@ public:
/**
* Returns target's logical border-box size and content-box size as
- * ResizeObserverSize.
+ * a ResizeObserverSize array.
*/
- ResizeObserverSize* BorderBoxSize() const {
- return mBorderBoxSize;
- }
- ResizeObserverSize* ContentBoxSize() const {
- return mContentBoxSize;
- }
+ void GetBorderBoxSize(nsTArray<RefPtr<ResizeObserverSize>>& aRetVal) const;
+ void GetContentBoxSize(nsTArray<RefPtr<ResizeObserverSize>>& aRetVal) const;
// Set borderBoxSize.
void SetBorderBoxSize(const nsSize& aSize);