  
    if (render_frame_created_) {
      if (!frame_bindings_control_)
-diff --git a/content/child/BUILD.gn b/content/child/BUILD.gn
-index db74c7691680..29e5895304be 100644
---- a/content/child/BUILD.gn
-+++ b/content/child/BUILD.gn
-@@ -293,6 +293,13 @@ target(link_target_type, "child") {
-     "//content:content_implementation",
-     "//build/config/compiler:no_size_t_to_int_warning",
-   ]
-+
-+  if (is_electron_build) {
-+    if (!defined(defines)) {
-+      defines = []
-+    }
-+    defines += [ "ELECTRON_NO_DCHECK" ]
-+  }
- }
- 
- # See comment at the top of //content/BUILD.gn for how this works.
+diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
+index 79e4cc1a0479..19ba3236477e 100644
+--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
++++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
+@@ -2093,8 +2104,8 @@ - (void)keyEvent:(NSEvent*)theEvent wasKeyEquivalent:(BOOL)equiv {
+   if (EventIsReservedBySystem(theEvent))
+     return;
+ 
+-  DCHECK([theEvent type] != NSKeyDown ||
+-         !equiv == !([theEvent modifierFlags] & NSCommandKeyMask));
++  //DCHECK([theEvent type] != NSKeyDown ||
++  //       !equiv == !([theEvent modifierFlags] & NSCommandKeyMask));
+ 
+   if ([theEvent type] == NSFlagsChanged) {
+     // Ignore NSFlagsChanged events from the NumLock and Fn keys as
 diff --git a/ppapi/host/ppapi_host.cc b/ppapi/host/ppapi_host.cc
 index f3c68fab3de6..b8609daf3ef9 100644
 --- a/ppapi/host/ppapi_host.cc

  base/process/kill_win.cc
  content/browser/frame_host/navigation_controller_impl.cc
  content/browser/frame_host/render_frame_host_impl.cc
  ppapi/host/ppapi_host.cc
  storage/browser/quota/client_usage_tracker.cc
  third_party/WebKit/Source/platform/wtf/ThreadRestrictionVerifier.h


diff --git a/base/logging.h b/base/logging.h

+    defines += [ "ELECTRON_NO_DCHECK" ]
+  }
 }
diff --git a/third_party/WebKit/Source/platform/wtf/text/StringImpl.h b/third_party/WebKit/Source/platform/wtf/text/StringImpl.h
index 9a02085a635e..1f4de626ee1b 100644
--- a/third_party/WebKit/Source/platform/wtf/text/StringImpl.h
+++ b/third_party/WebKit/Source/platform/wtf/text/StringImpl.h
@@ -252,21 +252,21 @@ class WTF_EXPORT StringImpl {
   }
 
   ALWAYS_INLINE bool HasOneRef() const {
-#if DCHECK_IS_ON()
+#if 0
     DCHECK(IsStatic() || verifier_.IsSafeToUse()) << AsciiForDebugging();
 #endif
     return ref_count_ == 1;
   }
 
   ALWAYS_INLINE void Ref() const {
-#if DCHECK_IS_ON()
+#if 0
     DCHECK(IsStatic() || verifier_.OnRef(ref_count_)) << AsciiForDebugging();
 #endif
     ++ref_count_;
   }
 
   ALWAYS_INLINE void Deref() const {
-#if DCHECK_IS_ON()
+#if 0
     DCHECK(IsStatic() || verifier_.OnDeref(ref_count_))
         << AsciiForDebugging() << " " << CurrentThread();
 #endif
diff --git a/url/BUILD.gn b/url/BUILD.gn
index 82eb115ae666..b4806804cdbf 100644
--- a/url/BUILD.gn
