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

Unified Diff: content/browser/frame_host/render_widget_host_view_guest.cc

Issue 2136413002: Update Surface ID Terminology (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed webkit_unit_tests Created 4 years, 5 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/frame_host/render_widget_host_view_guest.cc
diff --git a/content/browser/frame_host/render_widget_host_view_guest.cc b/content/browser/frame_host/render_widget_host_view_guest.cc
index b4557c27c130f456cc833aebd7921bff779e93dd..82c0da905fed88467e9c5d96f56e124db41b464c 100644
--- a/content/browser/frame_host/render_widget_host_view_guest.cc
+++ b/content/browser/frame_host/render_widget_host_view_guest.cc
@@ -115,7 +115,7 @@ void RenderWidgetHostViewGuest::Show() {
// the renderer.
if (!surface_id_.is_null()) {
cc::SurfaceSequence sequence = cc::SurfaceSequence(
- id_allocator_->id_namespace(), next_surface_sequence_++);
+ id_allocator_->client_id(), next_surface_sequence_++);
GetSurfaceManager()
->GetSurfaceForId(surface_id_)
->AddDestructionDependency(sequence);
@@ -295,7 +295,7 @@ void RenderWidgetHostViewGuest::OnSwapCompositorFrame(
surface_factory_->Create(surface_id_);
cc::SurfaceSequence sequence = cc::SurfaceSequence(
- id_allocator_->id_namespace(), next_surface_sequence_++);
+ id_allocator_->client_id(), next_surface_sequence_++);
// The renderer process will satisfy this dependency when it creates a
// SurfaceLayer.
cc::SurfaceManager* manager = GetSurfaceManager();

Powered by Google App Engine
This is Rietveld 408576698