Fix the black devtools view.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 12 Dec 2013 07:49:08 +0000 (15:49 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 12 Dec 2013 07:49:08 +0000 (15:49 +0800)
Without using UnderlayOpenGLHostingWindow the devtools view would just
be black.

browser/ui/atom_event_processing_window.h

index 92a2471..3080084 100644 (file)
@@ -7,10 +7,12 @@
 
 #import <Cocoa/Cocoa.h>
 
+#import "ui/base/cocoa/underlay_opengl_hosting_window.h"
+
 // Override NSWindow to access unhandled keyboard events (for command
 // processing); subclassing NSWindow is the only method to do
 // this.
-@interface AtomEventProcessingWindow : NSWindow {
+@interface AtomEventProcessingWindow : UnderlayOpenGLHostingWindow {
  @private
   BOOL redispatchingEvent_;
   BOOL eventHandled_;