RESOLVED FIXED 121692
Move layer hierarchy functions from RenderObject to RenderElement
https://bugs.webkit.org/show_bug.cgi?id=121692
Summary Move layer hierarchy functions from RenderObject to RenderElement
Antti Koivisto
Reported 2013-09-20 10:01:04 PDT
Text renderers don't need them.
Attachments
patch (16.65 KB, patch)
2013-09-20 10:08 PDT, Antti Koivisto
no flags
patch 2 (17.89 KB, patch)
2013-09-20 10:16 PDT, Antti Koivisto
webkit-ews: commit-queue-
patch 3 (17.91 KB, patch)
2013-09-20 10:26 PDT, Antti Koivisto
buildbot: commit-queue-
Archive of layout-test-results from webkit-ews-04 for mac-mountainlion (921.61 KB, application/zip)
2013-09-20 11:43 PDT, Build Bot
no flags
remember to call base class versions of virtual functions (18.01 KB, patch)
2013-09-20 12:01 PDT, Antti Koivisto
kling: review+
Antti Koivisto
Comment 1 2013-09-20 10:08:39 PDT
Antti Koivisto
Comment 2 2013-09-20 10:16:48 PDT
Early Warning System Bot
Comment 3 2013-09-20 10:24:44 PDT
Early Warning System Bot
Comment 4 2013-09-20 10:26:25 PDT
Antti Koivisto
Comment 5 2013-09-20 10:26:41 PDT
Build Bot
Comment 6 2013-09-20 11:43:26 PDT
Comment on attachment 212193 [details] patch 3 Attachment 212193 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1900364 New failing tests: fast/regions/named-flow-content-order-2.html fast/block/positioning/absolute-appended-to-inline.html editing/inserting/line-break.html fast/regions/webkit-flow-renderer.html editing/inserting/5058163-1.html editing/inserting/5418891.html fast/regions/named-flow-content-order-1.html editing/inserting/insert-paragraph-03.html editing/inserting/insert-3800346-fix.html editing/inserting/insert-br-004.html
Build Bot
Comment 7 2013-09-20 11:43:28 PDT
Created attachment 212201 [details] Archive of layout-test-results from webkit-ews-04 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-04 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Antti Koivisto
Comment 8 2013-09-20 12:01:36 PDT
Created attachment 212202 [details] remember to call base class versions of virtual functions
Andreas Kling
Comment 9 2013-09-20 12:44:16 PDT
Comment on attachment 212202 [details] remember to call base class versions of virtual functions View in context: https://bugs.webkit.org/attachment.cgi?id=212202&action=review r=me > Source/WebCore/rendering/RenderElement.cpp:203 > + newObject = 0; nullptr > Source/WebCore/rendering/RenderElement.cpp:263 > + return 0; nullptr > Source/WebCore/rendering/RenderElement.cpp:315 > + RenderLayer* layer = 0; nullptr > Source/WebCore/rendering/RenderElement.cpp:334 > + RenderLayer* layer = 0; nullptr > Source/WebCore/rendering/RenderElement.cpp:336 > + if ((layer = parent()->enclosingLayer())) Extra () pair here.
Antti Koivisto
Comment 10 2013-09-20 12:59:45 PDT
Antti Koivisto
Comment 11 2013-09-20 13:00:07 PDT
> Extra () pair here. They are needed.
Darin Adler
Comment 12 2013-09-20 20:06:57 PDT
Comment on attachment 212202 [details] remember to call base class versions of virtual functions View in context: https://bugs.webkit.org/attachment.cgi?id=212202&action=review >> Source/WebCore/rendering/RenderElement.cpp:336 >> + if ((layer = parent()->enclosingLayer())) > > Extra () pair here. You need that extra () to tell the compiler that you mean this as an assignment, not an == test. It turns off the warning.
Note You need to log in before you can comment on or make changes to this bug.