Index: content/browser/device_orientation/data_fetcher_shared_memory_mac.cc |
diff --git a/content/browser/device_orientation/data_fetcher_shared_memory_mac.cc b/content/browser/device_orientation/data_fetcher_shared_memory_mac.cc |
index 5c958cb27505c28643374bfd9efe20a453d635a6..54793837d75e1179168fc61cd4fed394b975f11e 100644 |
--- a/content/browser/device_orientation/data_fetcher_shared_memory_mac.cc |
+++ b/content/browser/device_orientation/data_fetcher_shared_memory_mac.cc |
@@ -115,10 +115,8 @@ bool DataFetcherSharedMemory::IsPolling() const { |
return true; |
} |
-bool DataFetcherSharedMemory::Start(ConsumerType consumer_type) { |
+bool DataFetcherSharedMemory::Start(ConsumerType consumer_type, void* buffer) { |
DCHECK(base::MessageLoop::current() == GetPollingMessageLoop()); |
- |
- void* buffer = GetSharedMemoryBuffer(consumer_type); |
DCHECK(buffer); |
switch (consumer_type) { |