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

Unified Diff: Source/web/LinkHighlight.h

Issue 687313002: Fix LinkHighlight to position correctly w.r.t. squashed layers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed composited scrolling Created 6 years, 2 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: Source/web/LinkHighlight.h
diff --git a/Source/web/LinkHighlight.h b/Source/web/LinkHighlight.h
index 6a05272306e16ead72c22fe886db4247fe157c6d..6fbd3de42d200547f76861e2ab37980912219e65 100644
--- a/Source/web/LinkHighlight.h
+++ b/Source/web/LinkHighlight.h
@@ -41,7 +41,7 @@ namespace blink {
class DisplayList;
class Node;
-class RenderLayer;
+class RenderLayerModelObject;
struct WebRect;
class WebViewImpl;
@@ -75,11 +75,11 @@ private:
void releaseResources();
void computeQuads(const Node&, WTF::Vector<FloatQuad>&) const;
- RenderLayer* computeEnclosingCompositingLayer();
+ void attachLinkHighlightToCompositingLayer(const RenderLayerModelObject* paintInvalidationContainer);
void clearGraphicsLayerLinkHighlightPointer();
// This function computes the highlight path, and returns true if it has changed
// size since the last call to this function.
- bool computeHighlightLayerPathAndPosition(RenderLayer*);
+ bool computeHighlightLayerPathAndPosition(const RenderLayerModelObject*);
OwnPtr<WebContentLayer> m_contentLayer;
OwnPtr<WebLayer> m_clipLayer;

Powered by Google App Engine
This is Rietveld 408576698