From aad73e43d54fd67fc09f01570946c94667a3a81a Mon Sep 17 00:00:00 2001 From: wkorman Date: Fri, 25 Mar 2016 17:25:07 -0700 Subject: Correct visual rect for PageOverlay to reflect size of graphics layer. BUG=529938,569211 Review URL: https://codereview.chromium.org/1833233002 Cr-Commit-Position: refs/heads/master@{#383418} --- third_party/WebKit/Source/web/PageOverlay.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'third_party/WebKit/Source/web/PageOverlay.h') diff --git a/third_party/WebKit/Source/web/PageOverlay.h b/third_party/WebKit/Source/web/PageOverlay.h index 815552e..6eb1917 100644 --- a/third_party/WebKit/Source/web/PageOverlay.h +++ b/third_party/WebKit/Source/web/PageOverlay.h @@ -69,8 +69,7 @@ public: // DisplayItemClient methods. String debugName() const final { return "PageOverlay"; } - // TODO(chrishtr): fix this. - LayoutRect visualRect() const override { return LayoutRect(); } + LayoutRect visualRect() const override; // GraphicsLayerClient implementation IntRect computeInterestRect(const GraphicsLayer*, const IntRect&) const override; -- cgit v1.1