Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1871)

Unified Diff: content/browser/renderer_host/render_widget_host_view_android.cc

Issue 213743005: cc: Remove TextureLayer::SetTextureId and TextureLayer::WillModifyTexture (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix compile Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/renderer_host/render_widget_host_view_android.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_android.cc b/content/browser/renderer_host/render_widget_host_view_android.cc
index 60b0de6dcead2ff63a90ebdd622fcfc2776d83d3..374d014e78f95f0b8e3ab989d7f40e5092b01b07 100644
--- a/content/browser/renderer_host/render_widget_host_view_android.cc
+++ b/content/browser/renderer_host/render_widget_host_view_android.cc
@@ -1089,7 +1089,7 @@ void RenderWidgetHostViewAndroid::AcceleratedSurfaceRelease() {
void RenderWidgetHostViewAndroid::EvictDelegatedFrame() {
if (texture_id_in_layer_) {
- texture_layer_->SetTextureId(0);
+ texture_layer_->ClearTexture();
texture_layer_->SetIsDrawable(false);
ImageTransportFactoryAndroid::GetInstance()->DeleteTexture(
texture_id_in_layer_);

Powered by Google App Engine
This is Rietveld 408576698