DescriptionDeclare methods defined in LayoutObjectInlines.h as inline.
This way we'll detect a failure to include LayoutObjectInlines.h during
compilation, rather than during linking.
Test case: Remove inclusion of LayoutObjectInlines.h from LayoutBR.cpp.
See https://codereview.chromium.org/2008503003/ - I initially tried
to simply remove LayoutView.h from LayoutBR.cpp's include list, but
got "strange" linker errors in release builds, since the compiler
thought styleRef(bool) was an actual function, and not an inline.
BUG=614015
Committed: https://crrev.com/9289b46d142c34fb1507906048189503e2e6a306
Cr-Commit-Position: refs/heads/master@{#395558}
Patch Set 1 #
Messages
Total messages: 12 (6 generated)
|