Commit a0679cfb authored by Cooper Knaak's avatar Cooper Knaak Committed by Commit Bot

[iOS] Add ARC Guard to bubble_util.mm

Add ARC guard to bubble_util.mm so it can only be compiled with
Automatic Reference Counting enabled. Although it currently only
contains C++ symbols, it is convention to include the ARC guard on all
new files. If in the future Objective-C symbols were added to the file,
not having the ARC guard could cause memory leaks.

R=edchin@chromium.org, gchatz@chromium.org

Bug: none
Change-Id: I0b72bd93a904f04034ca85f9f21b969f9a358e07
Reviewed-on: https://chromium-review.googlesource.com/596587
Commit-Queue: Cooper Knaak <cooperknaak@google.com>
Reviewed-by: default avatarEd Chin <edchin@chromium.org>
Reviewed-by: default avatarGregory Chatzinoff <gchatz@chromium.org>
Cr-Commit-Position: refs/heads/master@{#491155}
parent e12ec8ac
...@@ -8,6 +8,10 @@ ...@@ -8,6 +8,10 @@
#include "base/logging.h" #include "base/logging.h"
#import "ios/chrome/browser/ui/bubble/bubble_view.h" #import "ios/chrome/browser/ui/bubble/bubble_view.h"
#if !defined(__has_feature) || !__has_feature(objc_arc)
#error "This file requires ARC support."
#endif
namespace bubble_util { namespace bubble_util {
// Calculate the coordinates of the point of the speech bubble's triangle based // Calculate the coordinates of the point of the speech bubble's triangle based
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment