DescriptionMinor clean-up on WindowProxy::disposeContext()
We don't need to check isContextInitialized() in clearForClose() and
clearForNavigation() because it is already checked in WindowProxy::disposeContext().
Also this CL moves the ScriptState::Scope into disposeContext()
Though we don't need to enter ScriptState::Scope in case of clearForClose()
by accident, it looks safer to enter the scope always.
BUG=677253
Committed: https://crrev.com/488433ae435fbcd7ea4eac85f7042e7623f6bdef
Cr-Commit-Position: refs/heads/master@{#440839}
Patch Set 1 #
Messages
Total messages: 11 (6 generated)
|