Fix typo in ExtensionHost

A backwards conditional could, in theory, result in dev tools not being able
to attach to extension background pages. I cannot reproduce a problem with
this but the code is clearly wrong.

BUG=none
TEST=none (QA - nothing to do here)

Review URL: https://codereview.chromium.org/191173002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@255852 0039d316-1c4b-4281-b951-d872f2087c98
parent 8d414ca2
......@@ -195,7 +195,7 @@ void ExtensionHost::CreateRenderViewSoon() {
void ExtensionHost::CreateRenderViewNow() {
LoadInitialURL();
if (!IsBackgroundPage()) {
if (IsBackgroundPage()) {
DCHECK(IsRenderViewLive());
ExtensionsBrowserClient::Get()->OnRenderViewCreatedForBackgroundPage(this);
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment