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

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

Issue 2881423004: Stop retrieving scrolling element id from the CompositorElementId. (Closed)
Patch Set: Merge branch 'master' into scrollstate Created 3 years, 7 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/CompositorElementId.cpp
diff --git a/third_party/WebKit/Source/platform/graphics/CompositorElementId.cpp b/third_party/WebKit/Source/platform/graphics/CompositorElementId.cpp
index 6c3a4ed33c17f6bd77b08bc3dbd43a5aae8641be..95a7bfffaf4c622b5e3282c7ed3ff31942dbb3f3 100644
--- a/third_party/WebKit/Source/platform/graphics/CompositorElementId.cpp
+++ b/third_party/WebKit/Source/platform/graphics/CompositorElementId.cpp
@@ -33,10 +33,6 @@ CompositorElementIdFromScrollbarId(ScrollbarId id,
return CreateCompositorElementId(id, namespace_id);
}
-uint64_t IdFromCompositorElementId(CompositorElementId element_id) {
- return element_id.id_ >> kCompositorNamespaceBitCount;
-}
-
CompositorElementIdNamespace NamespaceFromCompositorElementId(
CompositorElementId element_id) {
return static_cast<CompositorElementIdNamespace>(

Powered by Google App Engine
This is Rietveld 408576698