summaryrefslogtreecommitdiffstats
path: root/ppapi/thunk/enter.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ppapi/thunk/enter.cc')
-rw-r--r--ppapi/thunk/enter.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/ppapi/thunk/enter.cc b/ppapi/thunk/enter.cc
index 2adc7f2..03937c9b 100644
--- a/ppapi/thunk/enter.cc
+++ b/ppapi/thunk/enter.cc
@@ -59,7 +59,6 @@ EnterBase::EnterBase(PP_Instance instance, SingletonResourceID resource_id,
const PP_CompletionCallback& callback)
: resource_(GetSingletonResource(instance, resource_id)),
retval_(PP_OK) {
- DCHECK(resource_ || !instance);
if (!resource_)
retval_ = PP_ERROR_BADARGUMENT;
callback_ = new TrackedCallback(resource_, callback);