    return [self acceptsMouseEventsWhenInactive];
  }
  
-@@ -2060,6 +2073,7 @@ void RenderWidgetHostViewMac::OnDisplayMetricsChanged(
+@@ -2008,6 +2021,7 @@ void RenderWidgetHostViewMac::OnDisplayMetricsChanged(
    if (EventIsReservedBySystem(theEvent))
      return NO;
  

 
 - (NSArray *)validAttributesForMarkedText {
   // This code is just copied from WebKit except renaming variables.
@@ -2945,7 +2965,9 @@ extern NSString *NSTextInputReplacementRangeAttributeName;
         NSUnderlineStyleAttributeName,
         NSUnderlineColorAttributeName,
         NSMarkedClauseSegmentAttributeName,

 }
 
 void RenderWidgetHostViewMac::SuspendBrowserCompositorView() {
@@ -1868,6 +1878,9 @@ void RenderWidgetHostViewMac::OnDisplayMetricsChanged(
 }
 
 - (BOOL)acceptsFirstMouse:(NSEvent*)theEvent {
