Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2582)

Unified Diff: Source/wtf/OSAllocator.h

Issue 13901012: Remove OS(WINCE) as blink and chromium does not support WinCe. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/wtf/OSAllocator.h
diff --git a/Source/wtf/OSAllocator.h b/Source/wtf/OSAllocator.h
index a12a46749723660017ef9502e77c4207e6135e5f..89a1328e57a0a95c3b9c8d7532fa7bfa43271c54 100644
--- a/Source/wtf/OSAllocator.h
+++ b/Source/wtf/OSAllocator.h
@@ -83,14 +83,9 @@ inline void* OSAllocator::reserveAndCommit(size_t reserveSize, size_t commitSize
inline void OSAllocator::decommitAndRelease(void* releaseBase, size_t releaseSize, void* decommitBase, size_t decommitSize)
{
ASSERT(decommitBase >= releaseBase && (static_cast<char*>(decommitBase) + decommitSize) <= (static_cast<char*>(releaseBase) + releaseSize));
-#if OS(WINCE)
- // On most platforms we can actually skip this final decommit; releasing the VM will
- // implicitly decommit any physical memory in the region. This is not true on WINCE.
- decommit(decommitBase, decommitSize);
jamesr 2013/04/20 01:37:01 as a followup, could we remove these parameters co
-#else
UNUSED_PARAM(decommitBase);
UNUSED_PARAM(decommitSize);
-#endif
+
releaseDecommitted(releaseBase, releaseSize);
}
« no previous file with comments | « Source/wtf/DateMath.cpp ('k') | Source/wtf/Platform.h » ('j') | Source/wtf/StackBounds.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698