[Webkit-unassigned] [Bug 62149] Web Inspector: [Chromium] DevTools does not highlight elements when accelerated compositing is on.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jun 10 16:03:00 PDT 2011
https://bugs.webkit.org/show_bug.cgi?id=62149
--- Comment #13 from Vsevolod Vlasov <vsevik at chromium.org> 2011-06-10 16:03:00 PST ---
(In reply to comment #11)
> (From update of attachment 96253 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=96253&action=review
>
> This is looking great overall. My main concern is the same as Vangelis' - it seems that this code will create a new PageOverlay on every call to highlightNode(), which is super frequent. Can you look into that?
I am only setting PageOverlayClient now, if m_pageOverlay object is not null.
> > Source/WebKit/chromium/src/PageOverlay.cpp:57
> > + update();
>
> is this call just to run the code at lines 129-132? can you just move that cleanup code directly to here? i realize that probably means adding an #if USE(ACCELERATED_COMPOSITING) block here but that feels less weird than calling a member function inside a destructor
As I said on IRC, WebFrame invalidation is also needed for non-composited case.
I have added a clear() method to handle highlighting hiding.
> > Source/WebKit/chromium/src/PageOverlay.h:60
> > + PageOverlay(WebViewImpl*, PageOverlayClient*);
> > + WebViewImpl* m_viewImpl;
>
> super-nitpicky nitpick: would prefer a newline between the last member function and the first member variable, just to make this a bit easier to scan
Done.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list