зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1061274 - Do not pass a non-POD object to a variadic function in nsTextStore::MouseTracker::UnadviseSink; r=masayuki
clang-cl treats this as a fatal error, but MSVC seems fine with it.
This commit is contained in:
Родитель
f29810b0ab
Коммит
be3d083f5a
|
@ -4827,7 +4827,7 @@ nsTextStore::MouseTracker::UnadviseSink()
|
||||||
PR_LOG(sTextStoreLog, PR_LOG_DEBUG,
|
PR_LOG(sTextStoreLog, PR_LOG_DEBUG,
|
||||||
("TSF: 0x%p nsTextStore::MouseTracker::UnadviseSink(), "
|
("TSF: 0x%p nsTextStore::MouseTracker::UnadviseSink(), "
|
||||||
"mCookie=%d, mSink=0x%p, mStart=%d, mLength=%d",
|
"mCookie=%d, mSink=0x%p, mStart=%d, mLength=%d",
|
||||||
this, mCookie, mSink, mStart, mLength));
|
this, mCookie, mSink.get(), mStart, mLength));
|
||||||
mSink = nullptr;
|
mSink = nullptr;
|
||||||
mStart = mLength = -1;
|
mStart = mLength = -1;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче