| Index: third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
|
| diff --git a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
|
| index 154242fa802a259d79df02132e7cd9dae51b728e..e95b958b03297882ccd8227b44d33dd2d461c525 100644
|
| --- a/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
|
| +++ b/third_party/WebKit/Source/modules/imagecapture/ImageCapture.cpp
|
| @@ -184,7 +184,7 @@ ImageCapture::ImageCapture(ExecutionContext* context, MediaStreamTrack* track)
|
|
|
| Platform::current()->serviceRegistry()->connectToRemoteService(mojo::GetProxy(&m_service));
|
|
|
| - m_service.set_connection_error_handler(createBaseCallback(bind(&ImageCapture::onServiceConnectionError, WeakPersistentThisPointer<ImageCapture>(this))));
|
| + m_service.set_connection_error_handler(createBaseCallback(bind(&ImageCapture::onServiceConnectionError, wrapWeakPersistent(this))));
|
|
|
| }
|
|
|
|
|