Bug 1068022 - Fix more bad implicit constructors in gfx; r=jrmuizel

This commit is contained in:
Ehsan Akhgari 2014-09-17 17:54:13 -04:00
Родитель 8908aea348
Коммит bb964f77e9
2 изменённых файлов: 3 добавлений и 3 удалений

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

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