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:
Ehsan Akhgari 2014-09-02 09:48:27 -04:00
Родитель f29810b0ab
Коммит be3d083f5a
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -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;
} }