Descriptioninline WebCore::Node::Node constructor more safely
Recently, some toolchains started giving link errors due to WebCore::Node::Node
being undefined in libwebkit.so. I suspect this is due to incomplete inlining,
since ContainerNode.h does not include Document.h (where the inlining was
defined).
This fix changes the Document argument to the Node constructor to a TreeScope,
which is the sole purpose of this argument, and since Node isn't a TreeScope
there's no circular dependency to worry about forward declarations.
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=151791
Patch Set 1 #
Total comments: 16
Patch Set 2 : style fixes #
Total comments: 1
Messages
Total messages: 11 (0 generated)
|