зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1068022 - Fix more bad implicit constructors in gfx; r=jrmuizel
This commit is contained in:
Родитель
8908aea348
Коммит
bb964f77e9
|
@ -410,7 +410,7 @@ GetFrameTime() {
|
|||
|
||||
class MOZ_STACK_CLASS StateChangeNotificationBlocker {
|
||||
public:
|
||||
StateChangeNotificationBlocker(AsyncPanZoomController* aApzc)
|
||||
explicit StateChangeNotificationBlocker(AsyncPanZoomController* aApzc)
|
||||
: mApzc(aApzc)
|
||||
{
|
||||
ReentrantMonitorAutoEnter lock(mApzc->mMonitor);
|
||||
|
|
|
@ -41,7 +41,7 @@ template<typename T>
|
|||
struct DeleteOnMainThreadTask: public nsRunnable
|
||||
{
|
||||
T* mToDelete;
|
||||
DeleteOnMainThreadTask(T* aToDelete) : mToDelete(aToDelete) {}
|
||||
explicit DeleteOnMainThreadTask(T* aToDelete) : mToDelete(aToDelete) {}
|
||||
NS_IMETHOD Run() {
|
||||
MOZ_ASSERT(NS_IsMainThread());
|
||||
mToDelete->DeleteToBeCalledOnMainThread();
|
||||
|
@ -87,4 +87,4 @@ private: \
|
|||
::mozilla::layers::HelperForMainThreadDestruction mHelperForMainThreadDestruction; \
|
||||
public:
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче