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

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

Issue 2658293002: content: Remove Lock/Unlock CompositingSurface API from RWH. (Closed)
Patch Set: last_frame_info Created 3 years, 11 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_impl.cc
diff --git a/content/browser/renderer_host/render_widget_host_impl.cc b/content/browser/renderer_host/render_widget_host_impl.cc
index c282dd95ac9227e4aa9d47a82c14f214928135e0..e840fa89c6edf6ab588edae9b4e3b70fa264e1c4 100644
--- a/content/browser/renderer_host/render_widget_host_impl.cc
+++ b/content/browser/renderer_host/render_widget_host_impl.cc
@@ -833,16 +833,6 @@ bool RenderWidgetHostImpl::CanCopyFromBackingStore() {
return false;
}
-void RenderWidgetHostImpl::LockBackingStore() {
- if (view_)
- view_->LockCompositingSurface();
-}
-
-void RenderWidgetHostImpl::UnlockBackingStore() {
- if (view_)
- view_->UnlockCompositingSurface();
-}
-
#if defined(OS_MACOSX)
void RenderWidgetHostImpl::PauseForPendingResizeOrRepaints() {
TRACE_EVENT0("browser",

Powered by Google App Engine
This is Rietveld 408576698