зеркало из https://github.com/mozilla/gecko-dev.git
Make some strings in prompt service char arrays instead of pointers to move
them to readonly data. Bug 201355, patch by ataylor@its.to (Andrew Taylor), r=adamlock, sr=alecf
This commit is contained in:
Родитель
b7e3933dd1
Коммит
46c0fbda65
|
@ -48,11 +48,11 @@
|
|||
#include "nsIStringBundle.h"
|
||||
#include "nsXPIDLString.h"
|
||||
|
||||
static const char *kPromptURL="chrome://global/content/commonDialog.xul";
|
||||
static const char *kSelectPromptURL="chrome://global/content/selectDialog.xul";
|
||||
static const char *kQuestionIconClass ="question-icon";
|
||||
static const char *kAlertIconClass ="alert-icon";
|
||||
static const char *kWarningIconClass ="message-icon";
|
||||
static const char kPromptURL[] = "chrome://global/content/commonDialog.xul";
|
||||
static const char kSelectPromptURL[] = "chrome://global/content/selectDialog.xul";
|
||||
static const char kQuestionIconClass[] = "question-icon";
|
||||
static const char kAlertIconClass[] = "alert-icon";
|
||||
static const char kWarningIconClass[] = "message-icon";
|
||||
|
||||
static NS_DEFINE_CID(kStringBundleServiceCID, NS_STRINGBUNDLESERVICE_CID);
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче