 -    bool previously_shared = shared_;
 +    // bool previously_shared = shared_;
      shared_ = shared;
- 
+
      if (!shared_)
        return;
- 
+
 -    DCHECK_NE(shared, previously_shared);
 +    // DCHECK_NE(shared, previously_shared);
      // Capture the current thread to verify that subsequent ref/deref happen on

-    DCHECK_GE(global_limited_usage_, 0);
+    //DCHECK_GE(cached_usage_by_host_[host][origin], 0);
+    //DCHECK_GE(global_limited_usage_, 0);
 
     // Notify the usage monitor that usage has changed. The storage monitor may
     // be NULL during tests.
diff --git a/third_party/WebKit/Source/core/loader/BUILD.gn b/third_party/WebKit/Source/core/loader/BUILD.gn

+    defines += [ "ELECTRON_NO_DCHECK" ]
+  }
 }

 static_library("test_support") {
diff --git a/third_party/WebKit/Source/platform/wtf/ThreadRestrictionVerifier.h b/third_party/WebKit/Source/platform/wtf/ThreadRestrictionVerifier.h
index 73c4d74ef3c1..d4a1a6c5696b 100644
