DescriptionRemove an isGlobalInitialized() check from WindowProxy::updateDocument()
Context states transit from Uninitialized to Initialized, and then to Detached.
- isGlobalInitialized() returns true when the context state is Initialized or Detached.
- isContextInitialized() returns true when the context state is Initialized.
Thus !isContextInitialized() is stronger than !isGlobalInitialized().
Hence we can remove if(!isGlobalInitialized()) from WindowProxy::updateDocument().
BUG=677253
Committed: https://crrev.com/403eecaa2fc7ea026528eecbdeeda3483b45ca6f
Cr-Commit-Position: refs/heads/master@{#440842}
Patch Set 1 #
Total comments: 2
Messages
Total messages: 12 (6 generated)
|