summaryrefslogtreecommitdiffstats
path: root/chrome/renderer/extensions
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-01 08:07:50 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-01 08:07:50 +0000
commit7256c50408de6476ecedf55d1c6fd6165cf08f95 (patch)
tree686d2607d7ba3ff337ec54be155ff225538038c9 /chrome/renderer/extensions
parentb95653996536e6733ad9327c7aa1a6c909cc5899 (diff)
downloadchromium_src-7256c50408de6476ecedf55d1c6fd6165cf08f95.zip
chromium_src-7256c50408de6476ecedf55d1c6fd6165cf08f95.tar.gz
chromium_src-7256c50408de6476ecedf55d1c6fd6165cf08f95.tar.bz2
Revert "Clean-up of the asynchronous behaviour of the experimental extension popup API. "
This reverts http://codereview.chromium.org/1512007 TBR=twiz Review URL: http://codereview.chromium.org/1735026 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@46184 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/renderer/extensions')
-rw-r--r--chrome/renderer/extensions/extension_process_bindings.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/renderer/extensions/extension_process_bindings.cc b/chrome/renderer/extensions/extension_process_bindings.cc
index 43db444..a12ef09 100644
--- a/chrome/renderer/extensions/extension_process_bindings.cc
+++ b/chrome/renderer/extensions/extension_process_bindings.cc
@@ -297,7 +297,7 @@ class ExtensionImpl : public ExtensionBase {
if (0 == popup_matcher.views()->Length())
return v8::Undefined();
- DCHECK(1 == popup_matcher.views()->Length());
+ DCHECK(popup_matcher.views()->Has(0));
// Return the first view found.
return popup_matcher.views()->Get(v8::Integer::New(0));