Bug 1082579 followup: Forward-declare 'PrintData' as 'class' instead of 'struct', since ipdl apparently converts 'struct' to 'class'. rs=mconley
authorDaniel Holbert <dholbert@cs.stanford.edu>
Mon, 09 Mar 2015 10:52:18 -0700
changeset 232567 a89d66fd2b6ad89e02aede5acc9e42404416d110
parent 232566 fb6a64fc61842e2490eb414201fa2b2565b0a69a
child 232568 6f9a0364c88448878657bed8134a7eb9287198df
push id56605
push userdholbert@mozilla.com
push dateMon, 09 Mar 2015 17:58:09 +0000
treeherdermozilla-inbound@a89d66fd2b6a [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersmconley
bugs1082579
milestone39.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1082579 followup: Forward-declare 'PrintData' as 'class' instead of 'struct', since ipdl apparently converts 'struct' to 'class'. rs=mconley CLOSED TREE
widget/gtk/nsPrintOptionsGTK.h
widget/nsIPrintOptions.idl
--- a/widget/gtk/nsPrintOptionsGTK.h
+++ b/widget/gtk/nsPrintOptionsGTK.h
@@ -8,17 +8,17 @@
 #define nsPrintOptionsGTK_h__
 
 #include "nsPrintOptionsImpl.h"  
 
 namespace mozilla
 {
 namespace embedding
 {
-  struct PrintData;
+  class PrintData;
 } // namespace embedding
 } // namespace mozilla
 
 //*****************************************************************************
 //***    nsPrintOptions
 //*****************************************************************************
 class nsPrintOptionsGTK : public nsPrintOptions
 {
--- a/widget/nsIPrintOptions.idl
+++ b/widget/nsIPrintOptions.idl
@@ -6,17 +6,17 @@
 #include "nsISupports.idl"
 #include "nsIPrintSettings.idl"
 
 %{ C++
 struct nsFont;
 
 namespace mozilla {
 namespace embedding {
-  struct PrintData;
+  class PrintData;
 }
 }
 %}
 
 interface nsIStringEnumerator;
 interface nsIWebBrowserPrint;
 
 /**