Revert 261380 "cc: Remove TextureLayer::SetTextureId and Texture..."
commita574ec775db7c734c8f5927295d4ca9fea284dc5
authornick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 3 Apr 2014 17:16:51 +0000 (3 17:16 +0000)
committernick@chromium.org <nick@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Thu, 3 Apr 2014 17:16:51 +0000 (3 17:16 +0000)
tree6e7bfba2bc7dc39647fe7bdd75b8069e657ba9e8
parent1694a12439a6de8c75f6caa0a5eb72bde47c838f
Revert 261380 "cc: Remove TextureLayer::SetTextureId and Texture..."

[Reason for revert: failure in WindowUtilTest.RecreateLayers
 in test suite wm_core_unittests
 on bot Linux ChromiumOS Tests (dbg)(1) Build]

> cc: Remove TextureLayer::SetTextureId and TextureLayer::WillModifyTexture
>
> These are not used anymore except for clearing the client-provided texture, so
> this removes 1 of 4 TextureLayer paths, and simplifies externally-exposed state.
>
> BUG=337922
>
> Review URL: https://codereview.chromium.org/213743005

TBR=piman@chromium.org

Review URL: https://codereview.chromium.org/224153003

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261460 0039d316-1c4b-4281-b951-d872f2087c98
cc/layers/texture_layer.cc
cc/layers/texture_layer.h
cc/layers/texture_layer_unittest.cc
content/shell/renderer/test_runner/TestPlugin.cpp
ui/compositor/layer.cc
webkit/renderer/compositor_bindings/web_external_texture_layer_impl.cc