
Because content is not used by iOS, this migrates defined(OS_MACOSX) -> defined(OS_MAC) Bug: 1105907 Change-Id: Ibf85273fea9c5566594ca00f2589b890515be6c7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2321210 Commit-Queue: Avi Drissman <avi@chromium.org> Reviewed-by: Nasko Oskov <nasko@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org> Cr-Commit-Position: refs/heads/master@{#792842}
20 lines
434 B
C++
20 lines
434 B
C++
// Copyright 2020 The Chromium Authors. All rights reserved.
|
|
// Use of this source code is governed by a BSD-style license that can be
|
|
// found in the LICENSE file.
|
|
|
|
#include "content/common/ax_serialization_utils.h"
|
|
|
|
#include "build/build_config.h"
|
|
|
|
namespace content {
|
|
|
|
bool AXShouldIncludePageScaleFactorInRoot() {
|
|
#if !defined(OS_ANDROID) && !defined(OS_MAC)
|
|
return true;
|
|
#else
|
|
return false;
|
|
#endif
|
|
}
|
|
|
|
} // namespace content
|