From 4a1a2bc369f5421d283317afaa17c50bcf7d38f7 Mon Sep 17 00:00:00 2001 From: "aa@chromium.org" Date: Tue, 3 Nov 2009 01:43:21 +0000 Subject: Revert r30784 TBR=rafaelw@chromium.org git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30787 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/common/extensions/extension.cc | 2 -- 1 file changed, 2 deletions(-) (limited to 'chrome/common/extensions/extension.cc') diff --git a/chrome/common/extensions/extension.cc b/chrome/common/extensions/extension.cc index c617232..429dfb5 100644 --- a/chrome/common/extensions/extension.cc +++ b/chrome/common/extensions/extension.cc @@ -208,8 +208,6 @@ bool Extension::LoadUserScriptHelper(const DictionaryValue* content_script, result->set_run_location(UserScript::DOCUMENT_START); } else if (run_location == values::kRunAtDocumentEnd) { result->set_run_location(UserScript::DOCUMENT_END); - } else if (run_location == values::kRunAtDocumentIdle) { - result->set_run_location(UserScript::DOCUMENT_IDLE); } else { *error = ExtensionErrorUtils::FormatErrorMessage(errors::kInvalidRunAt, IntToString(definition_index)); -- cgit v1.1