Title: [93955] trunk/Source/WebCore
Revision
93955
Author
[email protected]
Date
2011-08-29 00:07:27 -0700 (Mon, 29 Aug 2011)

Log Message

[Qt] Unreviewed minimal-build buildfix after r93937.

* platform/qt/RenderThemeQt.cpp:
(WebCore::RenderThemeQt::paintInnerSpinButton):
* platform/qt/RenderThemeQt.h:

Patch by Zoltan Herczeg <[email protected]> on 2011-08-29

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93954 => 93955)


--- trunk/Source/WebCore/ChangeLog	2011-08-29 06:09:42 UTC (rev 93954)
+++ trunk/Source/WebCore/ChangeLog	2011-08-29 07:07:27 UTC (rev 93955)
@@ -1,3 +1,11 @@
+2011-08-29  Zoltan Herczeg  <[email protected]>
+
+        [Qt] Unreviewed minimal-build buildfix after r93937.
+
+        * platform/qt/RenderThemeQt.cpp:
+        (WebCore::RenderThemeQt::paintInnerSpinButton):
+        * platform/qt/RenderThemeQt.h:
+
 2011-08-28  Keishi Hattori  <[email protected]>
 
         Chromium Win: Setting square-button appearance reaches NOTREACHED

Modified: trunk/Source/WebCore/platform/qt/RenderThemeQt.cpp (93954 => 93955)


--- trunk/Source/WebCore/platform/qt/RenderThemeQt.cpp	2011-08-29 06:09:42 UTC (rev 93954)
+++ trunk/Source/WebCore/platform/qt/RenderThemeQt.cpp	2011-08-29 07:07:27 UTC (rev 93955)
@@ -1068,6 +1068,7 @@
     return RenderTheme::paintSearchFieldResultsDecoration(o, pi, r);
 }
 
+#ifndef QT_NO_SPINBOX
 void RenderThemeQt::adjustInnerSpinButtonStyle(CSSStyleSelector* selector, RenderStyle* style,
                                                Element* e) const
 {
@@ -1119,6 +1120,7 @@
     p.drawComplexControl(QStyle::CC_SpinBox, option);
     return false;
 }
+#endif
 
 bool RenderThemeQt::supportsFocus(ControlPart appearance) const
 {

Modified: trunk/Source/WebCore/platform/qt/RenderThemeQt.h (93954 => 93955)


--- trunk/Source/WebCore/platform/qt/RenderThemeQt.h	2011-08-29 06:09:42 UTC (rev 93954)
+++ trunk/Source/WebCore/platform/qt/RenderThemeQt.h	2011-08-29 07:07:27 UTC (rev 93955)
@@ -138,8 +138,10 @@
     virtual void adjustSearchFieldResultsDecorationStyle(CSSStyleSelector*, RenderStyle*, Element*) const;
     virtual bool paintSearchFieldResultsDecoration(RenderObject*, const PaintInfo&, const IntRect&);
 
+#ifndef QT_NO_SPINBOX
     virtual void adjustInnerSpinButtonStyle(CSSStyleSelector*, RenderStyle*, Element*) const;
     virtual bool paintInnerSpinButton(RenderObject*, const PaintInfo&, const IntRect&);
+#endif
 
 #if ENABLE(PROGRESS_TAG)
     // Returns the repeat interval of the animation for the progress bar.
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to