Title: [101467] trunk/Source/WebKit2
Revision
101467
Author
[email protected]
Date
2011-11-30 02:01:03 -0800 (Wed, 30 Nov 2011)

Log Message

Unreviewed prospective mac build fix after r101450.

* Platform/mac/ModuleMac.mm:
(WebKit::Module::unload): leakRef is declared with attribute warn_unused_result.

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (101466 => 101467)


--- trunk/Source/WebKit2/ChangeLog	2011-11-30 09:50:45 UTC (rev 101466)
+++ trunk/Source/WebKit2/ChangeLog	2011-11-30 10:01:03 UTC (rev 101467)
@@ -1,3 +1,10 @@
+2011-11-30  Simon Hausmann  <[email protected]>
+
+        Unreviewed prospective mac build fix after r101450.
+
+        * Platform/mac/ModuleMac.mm:
+        (WebKit::Module::unload): leakRef is declared with attribute warn_unused_result.
+
 2011-11-30  Adenilson Cavalcanti  <[email protected]>
 
         [Qt][WK2] Implement permission API for Qt port

Modified: trunk/Source/WebKit2/Platform/mac/ModuleMac.mm (101466 => 101467)


--- trunk/Source/WebKit2/Platform/mac/ModuleMac.mm	2011-11-30 09:50:45 UTC (rev 101466)
+++ trunk/Source/WebKit2/Platform/mac/ModuleMac.mm	2011-11-30 10:01:03 UTC (rev 101467)
@@ -57,7 +57,7 @@
 #endif
 
     // See the comment in Module.h for why we leak the bundle here.
-    (void)m_bundle.leakRef();
+    CFBundleRef unused = m_bundle.leakRef();
 }
 
 void* Module::platformFunctionPointer(const char* functionName) const
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to