From bf6dbd738c500c2f98ddf00ff7f496a7a11637a2 Mon Sep 17 00:00:00 2001 From: Kartikaya Gupta Date: Sat, 16 May 2015 09:11:04 -0400 Subject: [PATCH] Bug 1165407 - Properly flush the log stream after logging it. r=botond --- gfx/2d/Logging.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gfx/2d/Logging.h b/gfx/2d/Logging.h index 084c02b0da1..7fb6cbc0d90 100644 --- a/gfx/2d/Logging.h +++ b/gfx/2d/Logging.h @@ -246,7 +246,7 @@ public: if (!str.empty()) { WriteLog(str); } - mMessage.clear(); + mMessage.str(""); } Log &operator <<(char aChar) {