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

         nil]);
   }
   return validAttributesForMarkedText_.get();
@@ -3444,6 +3466,10 @@ extern NSString *NSTextInputReplacementRangeAttributeName;
 }
 
 - (BOOL)isOpaque {

 }
 
 void RenderWidgetHostViewMac::SuspendBrowserCompositorView() {
@@ -1880,6 +1890,9 @@ - (BOOL)acceptsMouseEventsWhenInactive {
 }
 
 - (BOOL)acceptsFirstMouse:(NSEvent*)theEvent {
