RESOLVED FIXED 95257
[chromium] Remove HUD layer when rootLayer is set to null
https://bugs.webkit.org/show_bug.cgi?id=95257
Summary [chromium] Remove HUD layer when rootLayer is set to null
Dana Jansens
Reported 2012-08-28 16:04:54 PDT
[chromium] Remove HUD layer when rootLayer is set to null
Attachments
Patch (12.17 KB, patch)
2012-08-28 16:10 PDT, Dana Jansens
no flags
Patch (12.62 KB, patch)
2012-08-29 08:30 PDT, Dana Jansens
no flags
Dana Jansens
Comment 1 2012-08-28 16:10:38 PDT
James Robinson
Comment 2 2012-08-28 16:15:43 PDT
Comment on attachment 161082 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=161082&action=review > Source/WebKit/chromium/ChangeLog:10 > + (WTF): can you remove these WTF's from the ChangeLog? the changelog generator script is stupid about anonymous namespaces > Source/WebKit/chromium/tests/CCHeadsUpDisplayTest.cpp:36 > +using namespace WebCore; > +using namespace WebKit; > +using namespace WebKitTests; > +using namespace WTF; this is a bit excessive - can you trim it down so we know what we're actually depending on? i'm pretty sure you don't need using namespace WTF ever - if you #include the appropriate <wtf/...> header it puts the relevant things (like OwnPtr) in the global namespace for you > Source/WebKit/chromium/tests/CCThreadedTest.h:34 > +#include <public/WebThread.h> this isn't used, is it? kill if not
Dana Jansens
Comment 3 2012-08-29 08:01:38 PDT
Comment on attachment 161082 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=161082&action=review >> Source/WebKit/chromium/ChangeLog:10 >> + (WTF): > > can you remove these WTF's from the ChangeLog? the changelog generator script is stupid about anonymous namespaces oh! k >> Source/WebKit/chromium/tests/CCHeadsUpDisplayTest.cpp:36 >> +using namespace WTF; > > this is a bit excessive - can you trim it down so we know what we're actually depending on? i'm pretty sure you don't need using namespace WTF ever - if you #include the appropriate <wtf/...> header it puts the relevant things (like OwnPtr) in the global namespace for you yes, ill trim the list in CCLTHTest.cpp too. >> Source/WebKit/chromium/tests/CCThreadedTest.h:34 >> +#include <public/WebThread.h> > > this isn't used, is it? kill if not it is, we have an OwnPtr of one here somewhere.
Dana Jansens
Comment 4 2012-08-29 08:30:51 PDT
Dana Jansens
Comment 5 2012-08-29 08:32:02 PDT
I spent some time cleaning up the namespace and header includes among CCThreadedTest/CCLayerTreeHostTest/CCHeadsUpDisplayTest, there was some duplication and things that should have been moved to CCThreadedTest but hadn't been.
WebKit Review Bot
Comment 6 2012-08-29 16:20:00 PDT
Comment on attachment 161234 [details] Patch Clearing flags on attachment: 161234 Committed r127064: <http://trac.webkit.org/changeset/127064>
WebKit Review Bot
Comment 7 2012-08-29 16:20:03 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.