Another build fix.
authorandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Nov 2006 03:37:29 +0000 (03:37 +0000)
committerandersca <andersca@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 3 Nov 2006 03:37:29 +0000 (03:37 +0000)
        * rendering/RenderFileUploadControl.cpp:
        (WebCore::RenderFileUploadControl::paintObject):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17559 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebCore/ChangeLog
WebCore/rendering/RenderFileUploadControl.cpp

index 3588eaa32dc3a250d2dc8451edf44db0d2040e80..9614174cf6a9785a456affbef97276663c9dc839 100644 (file)
@@ -1,3 +1,10 @@
+2006-11-02  Anders Carlsson  <acarlsson@apple.com>
+
+        Another build fix.
+        
+        * rendering/RenderFileUploadControl.cpp:
+        (WebCore::RenderFileUploadControl::paintObject):
+
 2006-11-02  Anders Carlsson  <acarlsson@apple.com>
 
         Build fix.
index f6b3772941ac17efe44910a068e22ab8d329d244..fff5a18c86475428598f49ca2e7181061bd53b19 100644 (file)
@@ -141,6 +141,8 @@ RenderStyle* RenderFileUploadControl::createButtonStyle(RenderStyle* parentStyle
 
 void RenderFileUploadControl::paintObject(PaintInfo& paintInfo, int tx, int ty)
 {
+    const int buttonShadowHeight = 2;
+    
     // Push a clip.
     if (paintInfo.phase == PaintPhaseForeground || paintInfo.phase == PaintPhaseChildBlockBackgrounds) {
         IntRect clipRect(tx + borderLeft(), ty + borderTop(),