Title: [87055] trunk/Source/WebCore
- Revision
- 87055
- Author
- [email protected]
- Date
- 2011-05-23 00:11:46 -0700 (Mon, 23 May 2011)
Log Message
2011-05-23 Adam Barth <[email protected]>
Strict PassOwnPtr build fixes.
* platform/gtk/GeolocationServiceGtk.cpp:
(WebCore::GeolocationServiceGtk::create):
* platform/gtk/RenderThemeGtk.cpp:
(WebCore::RenderThemeGtk::adjustSliderTrackStyle):
(WebCore::RenderThemeGtk::adjustSliderThumbStyle):
(WebCore::RenderThemeGtk::adjustProgressBarStyle):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (87054 => 87055)
--- trunk/Source/WebCore/ChangeLog 2011-05-23 06:56:58 UTC (rev 87054)
+++ trunk/Source/WebCore/ChangeLog 2011-05-23 07:11:46 UTC (rev 87055)
@@ -1,3 +1,14 @@
+2011-05-23 Adam Barth <[email protected]>
+
+ Strict PassOwnPtr build fixes.
+
+ * platform/gtk/GeolocationServiceGtk.cpp:
+ (WebCore::GeolocationServiceGtk::create):
+ * platform/gtk/RenderThemeGtk.cpp:
+ (WebCore::RenderThemeGtk::adjustSliderTrackStyle):
+ (WebCore::RenderThemeGtk::adjustSliderThumbStyle):
+ (WebCore::RenderThemeGtk::adjustProgressBarStyle):
+
2011-05-22 Adam Barth <[email protected]>
Strict PassOwnPtr build fix.
Modified: trunk/Source/WebCore/platform/gtk/GeolocationServiceGtk.cpp (87054 => 87055)
--- trunk/Source/WebCore/platform/gtk/GeolocationServiceGtk.cpp 2011-05-23 06:56:58 UTC (rev 87054)
+++ trunk/Source/WebCore/platform/gtk/GeolocationServiceGtk.cpp 2011-05-23 07:11:46 UTC (rev 87055)
@@ -40,7 +40,7 @@
PassOwnPtr<GeolocationService> GeolocationServiceGtk::create(GeolocationServiceClient* client)
{
- return new GeolocationServiceGtk(client);
+ return adoptPtr(new GeolocationServiceGtk(client));
}
GeolocationService::FactoryFunction* GeolocationService::s_factoryFunction = &GeolocationServiceGtk::create;
Modified: trunk/Source/WebCore/platform/gtk/RenderThemeGtk.cpp (87054 => 87055)
--- trunk/Source/WebCore/platform/gtk/RenderThemeGtk.cpp 2011-05-23 06:56:58 UTC (rev 87054)
+++ trunk/Source/WebCore/platform/gtk/RenderThemeGtk.cpp 2011-05-23 07:11:46 UTC (rev 87055)
@@ -393,12 +393,12 @@
void RenderThemeGtk::adjustSliderTrackStyle(CSSStyleSelector*, RenderStyle* style, Element*) const
{
- style->setBoxShadow(0);
+ style->setBoxShadow(nullptr);
}
void RenderThemeGtk::adjustSliderThumbStyle(CSSStyleSelector*, RenderStyle* style, Element*) const
{
- style->setBoxShadow(0);
+ style->setBoxShadow(nullptr);
}
double RenderThemeGtk::caretBlinkInterval() const
@@ -628,7 +628,7 @@
#if ENABLE(PROGRESS_TAG)
void RenderThemeGtk::adjustProgressBarStyle(CSSStyleSelector*, RenderStyle* style, Element*) const
{
- style->setBoxShadow(0);
+ style->setBoxShadow(nullptr);
}
// These values have been copied from RenderThemeChromiumSkia.cpp
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes