Summary: | Can't build w/o accelerated compositing due to Source/WebCore/dom/PseudoElement.cpp:69:5: error: 'pseudoElementDestroyed' is not a member of 'WebCore::InspectorInstrumentation' | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Tobias Mueller <tobiasmue> | ||||||||
Component: | DOM | Assignee: | Dean Jackson <dino> | ||||||||
Status: | RESOLVED FIXED | ||||||||||
Severity: | Normal | CC: | alex.christensen, dino, esprehn+autocc, graouts, ojan.autocc, simon.fraser, webkit.review.bot | ||||||||
Priority: | P2 | ||||||||||
Version: | 528+ (Nightly build) | ||||||||||
Hardware: | Unspecified | ||||||||||
OS: | Unspecified | ||||||||||
Attachments: |
|
Description
Tobias Mueller
2013-03-08 14:44:10 PST
Created attachment 192289 [details]
Patch guarding the use of the destroyer with if use(accelerated)
With that patch, it builds fine.
This is effectively my first patch. Feel free to slash me for not following procedures or the like.
Comment on attachment 192289 [details]
Patch guarding the use of the destroyer with if use(accelerated)
I don't have review privileges, but I think since this is the only method call in ~PseudoElement(), you might as well wrap the entire method, and its definition in the header file, in the #if block. Thanks for catching this.
Comment on attachment 192289 [details]
Patch guarding the use of the destroyer with if use(accelerated)
I don't have review privileges, but I think since this is the only method call in ~PseudoElement(), you might as well wrap the entire method, and its definition in the header file, in the #if block. Thanks for catching this.
Comment on attachment 192289 [details]
Patch guarding the use of the destroyer with if use(accelerated)
I don't have review privileges, but I think since this is the only method call in ~PseudoElement(), you might as well wrap the entire method, and its definition in the header file, in the #if block. Thanks for catching this.
Cc'd Simon and Dean, they'll be able to review your patch. Created attachment 192341 [details]
wrap the entire destructor in if use accelerated
k. Thanks for the comment. Personally, I find it less elegant to use more ifdefs. I have this new patch which I set to R?. I hope that is correct.
Comment on attachment 192341 [details] wrap the entire destructor in if use accelerated The change itself is fine, but you need to do a few more things in order to get a patch accepted. You can read most of this on the wiki: http://trac.webkit.org/wiki e.g. http://trac.webkit.org/wiki/CodeReview Considering this is fixing a build and thus might be urgent, I'll land the patch and upload it here for you to look at. BTW - I'm not sure why you changed from the first patch. I liked having the #ifdef in one place. Created attachment 192342 [details]
Patch
Oh, Antoine suggested the change. I don't think it's a big deal either way. Fewer and fewer ports are building without accelerated compositing. Committed r145312: <http://trac.webkit.org/changeset/145312> *** Bug 111910 has been marked as a duplicate of this bug. *** |