Chromium Code Reviews| Index: public/platform/WebExternalTextureLayerClient.h |
| diff --git a/public/platform/WebExternalTextureLayerClient.h b/public/platform/WebExternalTextureLayerClient.h |
| index 148e63ffb9dd171d3f7c8ff6e83958e7d9a8a268..923eea7189948ccaf8562616e60de15eaeb6bfb8 100644 |
| --- a/public/platform/WebExternalTextureLayerClient.h |
| +++ b/public/platform/WebExternalTextureLayerClient.h |
| @@ -43,8 +43,9 @@ public: |
| virtual bool prepareMailbox(WebExternalTextureMailbox*, WebExternalBitmap* = 0) = 0; |
| // Notifies the client when a mailbox is no longer in use by the compositor and provides |
| - // a sync point to wait on before the mailbox could be consumes again by the client. |
| - virtual void mailboxReleased(const WebExternalTextureMailbox&) = 0; |
| + // a sync point to wait on before the mailbox could be consumes again by the client. The |
| + // boolean flag indicates if the mailbox resource is treated as lost by client. |
| + virtual void mailboxReleased(const WebExternalTextureMailbox&, bool lostResource = false) = 0; |
|
jamesr
2014/07/16 06:08:58
are you planning to remove the defaultness of this
Hongbo Min
2014/07/16 06:25:23
Sure. FIXME is added in the new PS.
|
| protected: |
| virtual ~WebExternalTextureLayerClient() { } |