| Index: webkit/compositor_bindings/web_external_texture_layer_impl.cc
|
| diff --git a/webkit/compositor_bindings/web_external_texture_layer_impl.cc b/webkit/compositor_bindings/web_external_texture_layer_impl.cc
|
| index 979e754678c4a4ddf6e5a075d5092b678f57d591..147612546923992daa9d859c7dbf01290c69f345 100644
|
| --- a/webkit/compositor_bindings/web_external_texture_layer_impl.cc
|
| +++ b/webkit/compositor_bindings/web_external_texture_layer_impl.cc
|
| @@ -67,28 +67,28 @@ void WebExternalTextureLayerImpl::setRateLimitContext(bool rate_limit) {
|
|
|
| class WebTextureUpdaterImpl : public WebTextureUpdater {
|
| public:
|
| - explicit WebTextureUpdaterImpl(ResourceUpdateQueue& queue) : queue_(queue) {}
|
| + explicit WebTextureUpdaterImpl(ResourceUpdateQueue* queue) : queue_(queue) {}
|
|
|
| virtual void appendCopy(unsigned source_texture,
|
| unsigned destination_texture,
|
| WebSize size) OVERRIDE {
|
| TextureCopier::Parameters copy = { source_texture, destination_texture,
|
| size };
|
| - queue_.appendCopy(copy);
|
| + queue_->appendCopy(copy);
|
| }
|
|
|
| private:
|
| - ResourceUpdateQueue& queue_;
|
| + ResourceUpdateQueue* queue_;
|
| };
|
|
|
| -unsigned WebExternalTextureLayerImpl::prepareTexture(
|
| - ResourceUpdateQueue& queue) {
|
| +unsigned WebExternalTextureLayerImpl::PrepareTexture(
|
| + ResourceUpdateQueue* queue) {
|
| DCHECK(client_);
|
| WebTextureUpdaterImpl updater_impl(queue);
|
| return client_->prepareTexture(updater_impl);
|
| }
|
|
|
| -WebGraphicsContext3D* WebExternalTextureLayerImpl::context() {
|
| +WebGraphicsContext3D* WebExternalTextureLayerImpl::Context() {
|
| DCHECK(client_);
|
| return client_->context();
|
| }
|
|
|