Index: third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h |
diff --git a/third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h b/third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h |
index a89d1600a0caf668d79bb29f9d5916557fc524b8..4e5e3c40718924f7901e77fd7602417ac21c2deb 100644 |
--- a/third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h |
+++ b/third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h |
@@ -163,8 +163,8 @@ class DOMDataStore { |
static bool HolderContainsWrapper(v8::Local<v8::Object> holder, |
const ScriptWrappable* wrappable) { |
// Verify our assumptions about the main world. |
- ASSERT(wrappable); |
- ASSERT(!wrappable->ContainsWrapper() || !wrappable->IsEqualTo(holder) || |
+ DCHECK(wrappable); |
+ DCHECK(!wrappable->ContainsWrapper() || !wrappable->IsEqualTo(holder) || |
Current(v8::Isolate::GetCurrent()).is_main_world_); |
return wrappable->IsEqualTo(holder); |
} |