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

Unified Diff: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h

Issue 1995573004: Fix "unused variable" warnings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
diff --git a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
index a9c1e2dff431be99ffbf3a099dfe1f49f33a736a..c026f4e98f82cc2fc2aa8fc1f892086bfc0a14cf 100644
--- a/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
+++ b/content/common/sandbox_linux/bpf_cros_arm_gpu_policy_linux.h
@@ -21,7 +21,9 @@ class CrosArmGpuProcessPolicy : public GpuProcessPolicy {
bool PreSandboxHook() override;
private:
+#if defined(__arm__) || defined(__aarch64__)
const bool allow_shmat_; // Allow shmat(2).
+#endif
DISALLOW_COPY_AND_ASSIGN(CrosArmGpuProcessPolicy);
};

Powered by Google App Engine
This is Rietveld 408576698