• Sylvain Defresne's avatar
    [ios] Move free static function to anonymous namespace · 632a3f03
    Sylvain Defresne authored
    The free function GetFallbackImageWithStringAndColor was defined
    in the middle of the @implementation part of BaseSpotlightManager
    which is confusing (as one would expect to see only methods for
    the class defined there).
    
    Move the free function to an anonymous namespace and out of the
    class @implementation/@interface parts to make it clearer that
    it is not in fact a class method.
    
    Bug: none
    Change-Id: Iacc46d73217fa8ca65867150f729fcfdf4fed3ee
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2388320
    Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
    Commit-Queue: Eugene But <eugenebut@chromium.org>
    Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#803567}
    632a3f03
base_spotlight_manager.mm 10.5 KB