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

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

Issue 2713673005: client-goodbye
Patch Set: Created 3 years, 10 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 a5f44dc0a49fd86988060ffdd80ef677faa673ee..c1e884d7c4a860dbf38cf68877b8d82084512fe3 100644
--- a/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
+++ b/third_party/WebKit/Source/web/LinkHighlightImpl.cpp
@@ -25,6 +25,7 @@
#include "web/LinkHighlightImpl.h"
+#include <memory>
#include "core/dom/DOMNodeIds.h"
#include "core/dom/LayoutTreeBuilderTraversal.h"
#include "core/dom/Node.h"
@@ -44,6 +45,7 @@
#include "platform/graphics/CompositorElementId.h"
#include "platform/graphics/CompositorMutableProperties.h"
#include "platform/graphics/GraphicsLayer.h"
+#include "platform/graphics/InvalidationDebugging.h"
#include "platform/graphics/paint/DrawingRecorder.h"
#include "platform/graphics/paint/PaintCanvas.h"
#include "platform/graphics/paint/PaintRecorder.h"
@@ -64,7 +66,6 @@
#include "wtf/CurrentTime.h"
#include "wtf/PtrUtil.h"
#include "wtf/Vector.h"
-#include <memory>
namespace blink {
@@ -350,9 +351,8 @@ void LinkHighlightImpl::notifyAnimationFinished(double, int) {
releaseResources();
}
-class LinkHighlightDisplayItemClientForTracking : public DisplayItemClient {
- String debugName() const final { return "LinkHighlight"; }
- LayoutRect visualRect() const final { return LayoutRect(); }
+class LinkHighlightDisplayItemClientForTracking : public InvalidationDebugging {
+ String invalidationName() const final { return "LinkHighlight"; }
};
void LinkHighlightImpl::updateGeometry() {

Powered by Google App Engine
This is Rietveld 408576698