зеркало из https://github.com/mozilla/gecko-dev.git
Fixing bug 232503. Start using Empty[C]String() to save a bit on code-size. r+sr=peterv@propagandism.org
This commit is contained in:
Родитель
af2cb5023a
Коммит
fa16aa634c
|
@ -46,6 +46,7 @@
|
|||
#include "nsIWidget.h"
|
||||
#include "nsIPresShell.h"
|
||||
#include "nsIFrame.h"
|
||||
#include "nsReadableUtils.h"
|
||||
|
||||
#include "prprf.h"
|
||||
|
||||
|
@ -77,7 +78,7 @@ inFlasher::GetColor(nsAString& aColor)
|
|||
char buf[10];
|
||||
PR_snprintf(buf, sizeof(buf), "#%02x%02x%02x",
|
||||
NS_GET_R(mColor), NS_GET_G(mColor), NS_GET_B(mColor));
|
||||
aColor.Assign(NS_ConvertASCIItoUCS2(buf));
|
||||
CopyASCIItoUTF16(buf, aColor);
|
||||
|
||||
return NS_OK;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче