summaryrefslogtreecommitdiff
path: root/layout/forms
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2020-04-14 23:27:56 -0400
committerMatt A. Tobin <email@mattatobin.com>2020-04-14 23:27:56 -0400
commit4e2b4b9bc7da70c41cf2eb6699f3d3038022c373 (patch)
treeaa9264d2049b1c14f81364ea492f1a2f005f8980 /layout/forms
parente215bfbb802a4c854aa7323c698ea5dff4045e25 (diff)
downloaduxp-4e2b4b9bc7da70c41cf2eb6699f3d3038022c373.tar.gz
Bug 1334358 - Remove nsCSSFrameConstructor::CreateAnonymousFrames
Tag #1375
Diffstat (limited to 'layout/forms')
-rw-r--r--layout/forms/nsComboboxControlFrame.cpp2
-rw-r--r--layout/forms/nsComboboxControlFrame.h6
2 files changed, 4 insertions, 4 deletions
diff --git a/layout/forms/nsComboboxControlFrame.cpp b/layout/forms/nsComboboxControlFrame.cpp
index 9d8d639ee5..98a91b9f5d 100644
--- a/layout/forms/nsComboboxControlFrame.cpp
+++ b/layout/forms/nsComboboxControlFrame.cpp
@@ -115,7 +115,7 @@ NS_IMPL_ISUPPORTS(nsComboButtonListener,
// static class data member for Bug 32920
nsComboboxControlFrame* nsComboboxControlFrame::sFocused = nullptr;
-nsContainerFrame*
+nsComboboxControlFrame*
NS_NewComboboxControlFrame(nsIPresShell* aPresShell, nsStyleContext* aContext, nsFrameState aStateFlags)
{
nsComboboxControlFrame* it = new (aPresShell) nsComboboxControlFrame(aContext);
diff --git a/layout/forms/nsComboboxControlFrame.h b/layout/forms/nsComboboxControlFrame.h
index 5f190814ad..de713576f3 100644
--- a/layout/forms/nsComboboxControlFrame.h
+++ b/layout/forms/nsComboboxControlFrame.h
@@ -55,9 +55,9 @@ class nsComboboxControlFrame final : public nsBlockFrame,
public:
NS_DECL_QUERYFRAME_TARGET(nsComboboxControlFrame)
- friend nsContainerFrame* NS_NewComboboxControlFrame(nsIPresShell* aPresShell,
- nsStyleContext* aContext,
- nsFrameState aFlags);
+ friend nsComboboxControlFrame* NS_NewComboboxControlFrame(nsIPresShell* aPresShell,
+ nsStyleContext* aContext,
+ nsFrameState aFlags);
friend class nsComboboxDisplayFrame;
explicit nsComboboxControlFrame(nsStyleContext* aContext);