Fix RenderFileUploadControl.o for iOS. Unreviewed build fix.
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Jan 2014 05:50:41 +0000 (05:50 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sat, 11 Jan 2014 05:50:41 +0000 (05:50 +0000)
WebCore::theme() returns a reference now, not a pointer.

* rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::paintObject):

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

Source/WebCore/ChangeLog
Source/WebCore/rendering/RenderFileUploadControl.cpp

index 7f87e3c..6d5fe92 100644 (file)
@@ -1,5 +1,14 @@
 2014-01-10  Joseph Pecoraro  <pecoraro@apple.com>
 
+        Fix RenderFileUploadControl.o for iOS. Unreviewed build fix.
+
+        WebCore::theme() returns a reference now, not a pointer.
+
+        * rendering/RenderFileUploadControl.cpp:
+        (WebCore::RenderFileUploadControl::paintObject):
+
+2014-01-10  Joseph Pecoraro  <pecoraro@apple.com>
+
         Fix HTMLPlugInImageElement.o for iOS. Unreviewed build fix.
 
         Forgot to upstream YouTubeEmbedShadowElement.*. Do so and
index 47e470c..9cd97b7 100644 (file)
@@ -187,7 +187,7 @@ void RenderFileUploadControl::paintObject(PaintInfo& paintInfo, const LayoutPoin
                 // Draw the file icon and decorations.
                 IntRect iconRect(iconX, iconY, iconWidth, iconHeight);
                 RenderTheme::FileUploadDecorations decorationsType = inputElement().files()->length() == 1 ? RenderTheme::SingleFile : RenderTheme::MultipleFiles;
-                theme()->paintFileUploadIconDecorations(this, buttonRenderer, paintInfo, iconRect, inputElement().icon(), decorationsType);
+                theme().paintFileUploadIconDecorations(this, buttonRenderer, paintInfo, iconRect, inputElement().icon(), decorationsType);
             }
 #else
             // Draw the file icon