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

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

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c 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_view_aura_unittest.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
index 29a8e8cb9b823008fc1125a88769eef996d92e02..fb5cfd4545bb7c17cac6ea9ac78a978d9cefc916 100644
--- a/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
+++ b/content/browser/renderer_host/render_widget_host_view_aura_unittest.cc
@@ -410,11 +410,11 @@ class FakeRenderWidgetHostViewAura : public RenderWidgetHostViewAura {
return GetDelegatedFrameHost()->SurfaceIdForTesting();
}
- const cc::LocalFrameId& GetLocalFrameId() const {
- return GetDelegatedFrameHost()->LocalFrameIdForTesting();
+ const cc::LocalSurfaceId& GetLocalSurfaceId() const {
+ return GetDelegatedFrameHost()->LocalSurfaceIdForTesting();
}
- bool HasFrameData() const { return GetLocalFrameId().is_valid(); }
+ bool HasFrameData() const { return GetLocalSurfaceId().is_valid(); }
bool released_front_lock_active() const {
return GetDelegatedFrameHost()->ReleasedFrontLockActiveForTesting();
@@ -2713,7 +2713,7 @@ class RenderWidgetHostViewAuraCopyRequestTest
view_->GetDelegatedFrameHost()->SurfaceIdForTesting();
if (surface_id.is_valid())
view_->GetDelegatedFrameHost()->WillDrawSurface(
- surface_id.local_frame_id(), view_rect_);
+ surface_id.local_surface_id(), view_rect_);
ASSERT_TRUE(view_->last_copy_request_);
}

Powered by Google App Engine
This is Rietveld 408576698