зеркало из https://github.com/mozilla/pjs.git
Fixing optimized build.
This commit is contained in:
Родитель
b8db61a8c0
Коммит
6041a1925c
|
@ -221,9 +221,11 @@ protected:
|
||||||
// Note: operator new zeros our memory
|
// Note: operator new zeros our memory
|
||||||
HTMLContentSink::HTMLContentSink()
|
HTMLContentSink::HTMLContentSink()
|
||||||
{
|
{
|
||||||
|
#ifdef NS_DEBUG
|
||||||
if (nsnull == gSinkLogModuleInfo) {
|
if (nsnull == gSinkLogModuleInfo) {
|
||||||
gSinkLogModuleInfo = PR_NewLogModule("htmlcontentsink");
|
gSinkLogModuleInfo = PR_NewLogModule("htmlcontentsink");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Set the first update delta to be 50ms
|
// Set the first update delta to be 50ms
|
||||||
LL_I2L(mUpdateDelta, PR_USEC_PER_MSEC * 50);
|
LL_I2L(mUpdateDelta, PR_USEC_PER_MSEC * 50);
|
||||||
|
|
|
@ -221,9 +221,11 @@ protected:
|
||||||
// Note: operator new zeros our memory
|
// Note: operator new zeros our memory
|
||||||
HTMLContentSink::HTMLContentSink()
|
HTMLContentSink::HTMLContentSink()
|
||||||
{
|
{
|
||||||
|
#ifdef NS_DEBUG
|
||||||
if (nsnull == gSinkLogModuleInfo) {
|
if (nsnull == gSinkLogModuleInfo) {
|
||||||
gSinkLogModuleInfo = PR_NewLogModule("htmlcontentsink");
|
gSinkLogModuleInfo = PR_NewLogModule("htmlcontentsink");
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
// Set the first update delta to be 50ms
|
// Set the first update delta to be 50ms
|
||||||
LL_I2L(mUpdateDelta, PR_USEC_PER_MSEC * 50);
|
LL_I2L(mUpdateDelta, PR_USEC_PER_MSEC * 50);
|
||||||
|
|
Загрузка…
Ссылка в новой задаче