]> khamidou — GitHub mirrors - electron.git/commitdiff
Mark OS X only implementations in BrowserMainParts.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 4 Jul 2013 12:09:11 +0000 (20:09 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 4 Jul 2013 12:09:11 +0000 (20:09 +0800)
browser/atom_browser_main_parts.h

index e5704379d2d3cb0b48ec5aa56b2c33d2d394481b..3b7ac1071aa218192578d3362f7ac258ed1591b1 100644 (file)
@@ -29,9 +29,11 @@ class AtomBrowserMainParts : public brightray::BrowserMainParts {
 
   // Implementations of content::BrowserMainParts.
   virtual void PostEarlyInitialization() OVERRIDE;
-  virtual void PreMainMessageLoopStart() OVERRIDE;
   virtual void PreMainMessageLoopRun() OVERRIDE;
+#if defined(OS_MACOSX)
+  virtual void PreMainMessageLoopStart() OVERRIDE;
   virtual void PostDestroyThreads() OVERRIDE;
+#endif
 
  private:
   scoped_ptr<AtomBrowserBindings> atom_bindings_;