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

Unified Diff: third_party/WebKit/Source/web/LinkHighlightImpl.cpp

Issue 2877033002: Fix cc scrollbar layer issues with initialization, and use element ids throughout. (Closed)
Patch Set: none 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/web/LinkHighlightImpl.cpp
diff --git a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
index 152fc313c580d8c3eee92fa0c2a8113270e7610a..f520990902ec564ef635765b1d1061f31a7c9d45 100644
--- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
+++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
@@ -98,8 +98,9 @@ LinkHighlightImpl::LinkHighlightImpl(Node* node, WebViewBase* owning_web_view)
if (owning_web_view_->LinkHighlightsTimeline())
owning_web_view_->LinkHighlightsTimeline()->PlayerAttached(*this);
- CompositorElementId element_id = CreateCompositorElementId(
- DOMNodeIds::IdForNode(node), CompositorSubElementId::kLinkHighlight);
+ CompositorElementId element_id = CompositorElementIdFromDOMNodeId(
+ DOMNodeIds::IdForNode(node),
+ CompositorElementIdNamespace::kLinkHighlight);
compositor_player_->AttachElement(element_id);
content_layer_->Layer()->SetDrawsContent(true);
content_layer_->Layer()->SetOpacity(1);

Powered by Google App Engine
This is Rietveld 408576698