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

Unified Diff: android_webview/browser/hardware_renderer.cc

Issue 2872883002: Rename EvictFrame, EvictSurface to EvictCurrentSurface (Closed)
Patch Set: Rebase Created 3 years, 7 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
« no previous file with comments | « no previous file | cc/ipc/mojo_compositor_frame_sink.mojom » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: android_webview/browser/hardware_renderer.cc
diff --git a/android_webview/browser/hardware_renderer.cc b/android_webview/browser/hardware_renderer.cc
index 42bad7c11cdc1128fad9a9aa325c7bac7b77cb83..186e744e6bb45868b2bbaf39013016412f5037fe 100644
--- a/android_webview/browser/hardware_renderer.cc
+++ b/android_webview/browser/hardware_renderer.cc
@@ -167,7 +167,7 @@ void HardwareRenderer::DestroySurface() {
DCHECK(child_id_.is_valid());
surfaces_->RemoveChildId(cc::SurfaceId(frame_sink_id_, child_id_));
- support_->EvictFrame();
+ support_->EvictCurrentSurface();
child_id_ = cc::LocalSurfaceId();
}
« no previous file with comments | « no previous file | cc/ipc/mojo_compositor_frame_sink.mojom » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698