Skip to content

Commit

Permalink
Remove unnecessary include of bind_objc_block.h
Browse files Browse the repository at this point in the history
The file base/mac/bind_objc_block.h only expose base::BindBlock
(and base::BindBlockArc) templated method. If the method is not
used, then the include is unnecessary and can be removed.

Automated using the following command:

  for file in $(git grep -l base/mac/bind_objc_block.h); do
    if ! grep -q BindBlock $file; then
      sed -i '' -e '/base\/mac\/bind_objc_block.h/d' $file
    fi
  done

Bug: none
Change-Id: I553d603036bea2948948238ce120fbaa70d77421
Reviewed-on: https://chromium-review.googlesource.com/1018483
Commit-Queue: ccameron <ccameron@chromium.org>
Reviewed-by: ccameron <ccameron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#551965}
  • Loading branch information
sdefresne authored and Commit Bot committed Apr 19, 2018
1 parent fbc016f commit 48a67ca
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include <utility>

#include "base/debug/crash_logging.h"
#include "base/mac/bind_objc_block.h"
#include "base/mac/mac_util.h"
#include "base/stl_util.h"
#include "base/strings/sys_string_conversions.h"
Expand Down

0 comments on commit 48a67ca

Please sign in to comment.