From 0cd76e6b59fd0d2950f08a45d2dd65c080087db1 Mon Sep 17 00:00:00 2001 From: Jeremy Chen Date: Wed, 7 Sep 2016 10:20:16 +0800 Subject: [PATCH] Bug 1297306 - part2:make the implementation of nsLineBox::LastChild() be behind DEBUG_FRAME_DUMP flag. r=xidorn This should've been covered in Bug 956447. The declaration is already behind DEBUG_FRAME_DUMP in nsLineBox.h. Just move the implementation to agreee with that. MozReview-Commit-ID: 9N0WxKkajF1 --HG-- extra : rebase_source : b79b068b8a84c66f289d40deb5b5b9347fb7c4a4 --- layout/generic/nsLineBox.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/layout/generic/nsLineBox.cpp b/layout/generic/nsLineBox.cpp index 1ac02f22862d..1ac406866603 100644 --- a/layout/generic/nsLineBox.cpp +++ b/layout/generic/nsLineBox.cpp @@ -282,9 +282,7 @@ nsLineBox::List(FILE* out, const char* aPrefix, uint32_t aFlags) const } fprintf_stderr(out, "%s>\n", aPrefix); } -#endif -#ifdef DEBUG nsIFrame* nsLineBox::LastChild() const {