Commit aea47d84 authored by weinig@apple.com's avatar weinig@apple.com
Browse files

Fix Anders typo. false -> 0.

Reviewed by Anders Carlsson.

* Platform/mac/SharedMemoryMac.cpp:
(WebKit::SharedMemory::create):



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@78578 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 9f63df8e
2011-02-15 Sam Weinig <sam@webkit.org>
Reviewed by Anders Carlsson.
Fix Anders typo. false -> 0.
* Platform/mac/SharedMemoryMac.cpp:
(WebKit::SharedMemory::create):
2011-02-15 Andras Becsi <abecsi@webkit.org>
 
Reviewed by NOBODY Csaba Osztrogonác.
......@@ -105,7 +105,7 @@ PassRefPtr<SharedMemory> SharedMemory::create(size_t size)
if (kr != KERN_SUCCESS) {
mach_vm_deallocate(mach_task_self(), address, round_page(size));
return false;
return 0;
}
ASSERT(memoryObjectSize >= round_page(size));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment