Make castv2 performance test work.
[chromium-blink-merge.git] / base / critical_closure_internal_ios.mm
blobb8fec141b2198e53c2b8e2d4826a1fba7edc0212
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "base/critical_closure.h"
7 #import <UIKit/UIKit.h>
9 namespace base {
10 namespace internal {
12 bool IsMultiTaskingSupported() {
13   return [[UIDevice currentDevice] isMultitaskingSupported];
16 }  // namespace internal
17 }  // namespace base