Fixed wrong gfxPlatformQt include name
authorromaxa@romaxa.research.nokia.com
Sat, 19 Apr 2008 20:16:59 +0300
changeset 16880 62d96140ee7f87d0684f345ccae5eec8cf60eace
parent 16879 93ae1f14427da914c92c3078b31b51127c8518e9
child 16881 5a36cf0311d4f344dba1fbf50299470e1b908589
push id1298
push userpavlov@mozilla.com
push dateSun, 17 Aug 2008 05:03:09 +0000
treeherderautoland@4a506fa751d8 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
milestone2.0a1pre
Fixed wrong gfxPlatformQt include name
gfx/src/thebes/nsSystemFontsQt.cpp
--- a/gfx/src/thebes/nsSystemFontsQt.cpp
+++ b/gfx/src/thebes/nsSystemFontsQt.cpp
@@ -35,17 +35,17 @@
  * the terms of any one of the MPL, the GPL or the LGPL.
  *
  * ***** END LICENSE BLOCK ***** */
 
 #include "nsIDeviceContext.h"
 #include "nsIRenderingContext.h"
 
 #include "nsSystemFontsQt.h"
-#include "gfxPlatformQt.h"
+#include "gfxQtPlatform.h"
 #include <QApplication>
 #include <QFont>
 
 nsSystemFontsQt::nsSystemFontsQt()
   : mDefaultFontName(NS_LITERAL_STRING("sans-serif"))
   , mButtonFontName(NS_LITERAL_STRING("sans-serif"))
   , mFieldFontName(NS_LITERAL_STRING("sans-serif"))
   , mMenuFontName(NS_LITERAL_STRING("sans-serif"))
@@ -72,17 +72,17 @@ nsSystemFontsQt::GetSystemFontInfo(const
     QFont qFont = QApplication::font(aClassName);
 
     aFontStyle->style = FONT_STYLE_NORMAL;
     aFontStyle->systemFont = PR_TRUE;
     NS_NAMED_LITERAL_STRING(quote, "\"");
     nsString family((PRUnichar*)qFont.family().data());
     *aFontName = quote + family + quote;
     aFontStyle->weight = qFont.weight();
-    aFontStyle->size = qFont.pointSizeF() * float(gfxPlatformQt::DPI()) / 72.0f;
+    aFontStyle->size = qFont.pointSizeF() * float(gfxQtPlatform::DPI()) / 72.0f;
     return NS_OK;
 }
 
 
 nsresult
 nsSystemFontsQt::GetSystemFont(nsSystemFontID anID, nsString *aFontName,
                                  gfxFontStyle *aFontStyle) const
 {