Index: cc/layers/texture_layer.h |
diff --git a/cc/layers/texture_layer.h b/cc/layers/texture_layer.h |
index 2d5b6bbb4af18f460491a450b0d5c6edabc89bc8..4fa239f83afc4e750ec95259f301fbb81fcf4aa8 100644 |
--- a/cc/layers/texture_layer.h |
+++ b/cc/layers/texture_layer.h |
@@ -133,6 +133,12 @@ |
const TextureMailbox& mailbox, |
std::unique_ptr<SingleReleaseCallback> release_callback); |
+ // Use this for special cases where the same texture is used to back the |
+ // TextureLayer across all frames. |
+ // WARNING: DON'T ACTUALLY USE THIS WHAT YOU ARE DOING IS WRONG. |
+ // TODO(danakj): Remove this when pepper doesn't need it. crbug.com/350204 |
+ void SetTextureMailboxWithoutReleaseCallback(const TextureMailbox& mailbox); |
+ |
void SetNeedsDisplayRect(const gfx::Rect& dirty_rect) override; |
void SetLayerTreeHost(LayerTreeHost* layer_tree_host) override; |