summaryrefslogtreecommitdiff
path: root/layout/generic/nsHTMLCanvasFrame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layout/generic/nsHTMLCanvasFrame.cpp')
-rw-r--r--layout/generic/nsHTMLCanvasFrame.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/layout/generic/nsHTMLCanvasFrame.cpp b/layout/generic/nsHTMLCanvasFrame.cpp
index 032b95e5bb..f40f799bab 100644
--- a/layout/generic/nsHTMLCanvasFrame.cpp
+++ b/layout/generic/nsHTMLCanvasFrame.cpp
@@ -199,6 +199,7 @@ nsHTMLCanvasFrame::GetIntrinsicSize()
/* virtual */ AspectRatio
nsHTMLCanvasFrame::GetIntrinsicRatio()
{
+ // When 'contain: size' is implemented, make sure to check for it.
/*
if (StyleDisplay()->IsContainSize()) {
return AspectRatio();