Bug 1652120 - Initialize local variable in PresShell::CreateRangePaintInfo. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D83739
This commit is contained in:
@@ -4733,7 +4733,7 @@ static bool gDumpRangePaintList = false;
|
||||
|
||||
UniquePtr<RangePaintInfo> PresShell::CreateRangePaintInfo(
|
||||
nsRange* aRange, nsRect& aSurfaceRect, bool aForPrimarySelection) {
|
||||
nsIFrame* ancestorFrame;
|
||||
nsIFrame* ancestorFrame = nullptr;
|
||||
nsIFrame* rootFrame = GetRootFrame();
|
||||
|
||||
// If the start or end of the range is the document, just use the root
|
||||
|
||||
Reference in New Issue
Block a user