| Index: webrtc/modules/desktop_capture/desktop_frame.h
|
| diff --git a/webrtc/modules/desktop_capture/desktop_frame.h b/webrtc/modules/desktop_capture/desktop_frame.h
|
| index 632bcfc2e793ebf5cb4f5d6db36a082bf9dfde47..95c74c57fb6ada803e5485bf9f77c8e63d296026 100644
|
| --- a/webrtc/modules/desktop_capture/desktop_frame.h
|
| +++ b/webrtc/modules/desktop_capture/desktop_frame.h
|
| @@ -68,6 +68,9 @@ class DesktopFrame {
|
| // A helper to return the data pointer of a frame at the specified position.
|
| uint8_t* GetFrameDataAtPos(const DesktopVector& pos) const;
|
|
|
| + // A helper to return the position at the specified data pointer.
|
| + DesktopVector GetPosAtFrameData(const uint8_t* const pos) const;
|
| +
|
| protected:
|
| DesktopFrame(DesktopSize size,
|
| int stride,
|
|
|