Descriptioncontent: Always run EnforceMemoryPolicy() callbacks on the same thread.
This allows ::ScheduleEnforceMemoryPolicy() to be called on
a worker thread without a message loop.
BUG=549274
TEST=content_unittests --gtest_filter=HostDiscardableSharedMemoryManagerScheduleEnforceMemoryPolicyTest.SetMemoryLimitOnSimpleThread
Committed: https://crrev.com/d13710832e9d0e6302cf8388cda94a7a780d8664
Cr-Commit-Position: refs/heads/master@{#356989}
Patch Set 1 #
Messages
Total messages: 11 (4 generated)
|