Title: [93746] trunk/Source/WebCore
Revision
93746
Author
[email protected]
Date
2011-08-24 15:44:46 -0700 (Wed, 24 Aug 2011)

Log Message

[EFL] Fix build with ENABLE_GEOLOCATION.
https://bugs.webkit.org/show_bug.cgi?id=66881

Use adoptPtr() to create a new GeolocationService instance, otherwise
the build will fail when creating the PassOwnPtr object.

Patch by Raphael Kubo da Costa <[email protected]> on 2011-08-24

* platform/efl/GeolocationServiceEfl.cpp:
(WebCore::GeolocationServiceEfl::create):

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (93745 => 93746)


--- trunk/Source/WebCore/ChangeLog	2011-08-24 22:35:52 UTC (rev 93745)
+++ trunk/Source/WebCore/ChangeLog	2011-08-24 22:44:46 UTC (rev 93746)
@@ -1,5 +1,16 @@
 2011-08-24  Raphael Kubo da Costa  <[email protected]>
 
+        [EFL] Fix build with ENABLE_GEOLOCATION.
+        https://bugs.webkit.org/show_bug.cgi?id=66881
+
+        Use adoptPtr() to create a new GeolocationService instance, otherwise
+        the build will fail when creating the PassOwnPtr object.
+
+        * platform/efl/GeolocationServiceEfl.cpp:
+        (WebCore::GeolocationServiceEfl::create):
+
+2011-08-24  Raphael Kubo da Costa  <[email protected]>
+
         [CMake] Fix build with ENABLE_BLOB or ENABLE_FILE_SYSTEM.
         https://bugs.webkit.org/show_bug.cgi?id=66880
 

Modified: trunk/Source/WebCore/platform/efl/GeolocationServiceEfl.cpp (93745 => 93746)


--- trunk/Source/WebCore/platform/efl/GeolocationServiceEfl.cpp	2011-08-24 22:35:52 UTC (rev 93745)
+++ trunk/Source/WebCore/platform/efl/GeolocationServiceEfl.cpp	2011-08-24 22:44:46 UTC (rev 93746)
@@ -32,7 +32,7 @@
 
 PassOwnPtr<GeolocationService> GeolocationServiceEfl::create(GeolocationServiceClient* client)
 {
-    return new GeolocationServiceEfl(client);
+    return adoptPtr(new GeolocationServiceEfl(client));
 }
 
 GeolocationServiceEfl::GeolocationServiceEfl(GeolocationServiceClient* client)
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to