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

Unified Diff: content/renderer/renderer_blink_platform_impl.cc

Issue 2514323006: Allow Blink to generate cc::FrameSinkId from RenderThread (Closed)
Patch Set: change to generateFrameSinkId Created 4 years, 1 month 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 | « content/renderer/renderer_blink_platform_impl.h ('k') | third_party/WebKit/public/platform/Platform.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/renderer_blink_platform_impl.cc
diff --git a/content/renderer/renderer_blink_platform_impl.cc b/content/renderer/renderer_blink_platform_impl.cc
index e038d2bc1108721538e3841aff4aa289a18a7e2b..1565487a846094790c515f0964eb7cbb31498767 100644
--- a/content/renderer/renderer_blink_platform_impl.cc
+++ b/content/renderer/renderer_blink_platform_impl.cc
@@ -618,6 +618,11 @@ WebString RendererBlinkPlatformImpl::databaseCreateOriginIdentifier(
WebSecurityOriginToGURL(origin)));
}
+cc::FrameSinkId RendererBlinkPlatformImpl::generateFrameSinkId() {
+ return cc::FrameSinkId(RenderThread::Get()->GetClientId(),
+ RenderThread::Get()->GenerateRoutingID());
+}
+
bool RendererBlinkPlatformImpl::isThreadedCompositingEnabled() {
RenderThreadImpl* thread = RenderThreadImpl::current();
// thread can be NULL in tests.
« no previous file with comments | « content/renderer/renderer_blink_platform_impl.h ('k') | third_party/WebKit/public/platform/Platform.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698