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

Unified Diff: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp

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: third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
index 6e8a5cd4022250ee0f93ab8aebf72b179be895bd..a88f8c2a8232db41ad1b7f0f61a01b79f5c58129 100644
--- a/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
+++ b/third_party/WebKit/Source/platform/graphics/OffscreenCanvasFrameDispatcherImpl.cpp
@@ -48,7 +48,7 @@ OffscreenCanvasFrameDispatcherImpl::OffscreenCanvasFrameDispatcherImpl(
m_nextResourceId(1u),
m_binding(this),
m_placeholderCanvasId(canvasId) {
- m_currentLocalFrameId = m_surfaceIdAllocator.GenerateId();
+ m_currentLocalSurfaceId = m_surfaceIdAllocator.GenerateId();
DCHECK(!m_sink.is_bound());
mojom::blink::OffscreenCanvasCompositorFrameSinkProviderPtr provider;
Platform::current()->interfaceProvider()->getInterface(
@@ -368,10 +368,10 @@ void OffscreenCanvasFrameDispatcherImpl::dispatchFrame(
}
if (m_changeSizeForNextCommit) {
- m_currentLocalFrameId = m_surfaceIdAllocator.GenerateId();
+ m_currentLocalSurfaceId = m_surfaceIdAllocator.GenerateId();
m_changeSizeForNextCommit = false;
}
- m_sink->SubmitCompositorFrame(m_currentLocalFrameId, std::move(frame));
+ m_sink->SubmitCompositorFrame(m_currentLocalSurfaceId, std::move(frame));
// TODO(crbug.com/674744): Get BeginFrame to fire on its own.
scheduleSyntheticBeginFrame();

Powered by Google App Engine
This is Rietveld 408576698