Remove redundant isInline function
The same isInline function is defined in EditingUtilities.cpp and IndentOutdentCommand.cpp. This CL adds isInline declaration in EditingUtilities.h so that it can remove the same function from IndentOutdentCommand.cpp. In addition, it uses Node::computedStyle() rather than layout object to reduce dependency of layout tree. BUG=none Review-Url: https://codereview.chromium.org/2105653004 Cr-Commit-Position: refs/heads/master@{#402689}
Showing
Please register or sign in to comment