commit | b18b9565248f6074c188ee3eb3e50528ccc89ed4 | [log] [tgz] |
---|---|---|
author | xiaochengh <xiaochengh@chromium.org> | Wed Sep 21 10:45:32 2016 |
committer | Commit bot <commit-bot@chromium.org> | Wed Sep 21 10:49:07 2016 |
tree | 1d7597056f1f9ba3a0697baca6bc4d9c71963ef1 | |
parent | 593d84c9016da731e62991eec28d998104b121da [diff] |
Introduce VisiblePosition::isValid In general, functions taking VisiblePosition parameters must be called in clean layout and before any DOM mutation. This patch introduces VisiblePosition::isValid to check this. This patch is a preparation for pruning createVisiblePositionDeprecated. BUG=647219 Review-Url: https://codereview.chromium.org/2354893002 Cr-Commit-Position: refs/heads/master@{#420024}