| Index: Source/core/platform/graphics/GraphicsLayer.h
|
| diff --git a/Source/core/platform/graphics/GraphicsLayer.h b/Source/core/platform/graphics/GraphicsLayer.h
|
| index 3324a54e4f0f981246cae02ea48dbff5a8d1ae8e..1f81466f62edacbb6d3dda61ed464c2d047128cd 100644
|
| --- a/Source/core/platform/graphics/GraphicsLayer.h
|
| +++ b/Source/core/platform/graphics/GraphicsLayer.h
|
| @@ -41,6 +41,7 @@
|
| #include "wtf/HashMap.h"
|
| #include "wtf/OwnPtr.h"
|
| #include "wtf/PassOwnPtr.h"
|
| +#include "wtf/Vector.h"
|
|
|
| #include "public/platform/WebAnimationDelegate.h"
|
| #include "public/platform/WebCompositingReasons.h"
|
| @@ -430,9 +431,10 @@ public:
|
| return false;
|
| }
|
|
|
| - void setLinkHighlight(LinkHighlightClient*);
|
| + void addLinkHighlight(LinkHighlightClient*);
|
| + void removeLinkHighlight(LinkHighlightClient*);
|
| // Exposed for tests
|
| - LinkHighlightClient* linkHighlight() { return m_linkHighlight; }
|
| + LinkHighlightClient* linkHighlight(int i) { return m_linkHighlights[i]; }
|
|
|
| void setScrollableArea(ScrollableArea* scrollableArea) { m_scrollableArea = scrollableArea; }
|
| ScrollableArea* scrollableArea() const { return m_scrollableArea; }
|
| @@ -566,7 +568,7 @@ protected:
|
| // on.
|
| int m_contentsLayerId;
|
|
|
| - LinkHighlightClient* m_linkHighlight;
|
| + Vector<LinkHighlightClient*> m_linkHighlights;
|
|
|
| OwnPtr<OpaqueRectTrackingContentLayerDelegate> m_opaqueRectTrackingContentLayerDelegate;
|
|
|
|
|