)]}' { "commit": "3aec8ba82a4859ba5a750888c21e045db5d55bd1", "tree": "1deb64e37425bda8bedf9a929f6687debc02ce35", "parents": [ "0d27b5ac5f5e1fd310ffd825de0938cebc797654" ], "author": { "name": "Robbie Gibson", "email": "rkgibson@google.com", "time": "Tue Mar 19 16:12:27 2019" }, "committer": { "name": "Commit Bot", "email": "commit-bot@chromium.org", "time": "Tue Mar 19 16:12:27 2019" }, "message": "Fix Search-by-image crash when given a nil image/data\n\nMy thought was that ResizedImageForSearchByImage should be fine with an\nempty image. If, on iOS, it\u0027s passed a non-empty image with no UIImage\nrepresentation, that will still crash, but is probably ok (although if\nthat\u0027s what DCHECK should be used for, let me know).\n\nBug: 943145\nChange-Id: If617822090273af64a757666a09afa8a4e4861d1\nReviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1530761\nReviewed-by: Mark Cogan \u003cmarq@chromium.org\u003e\nReviewed-by: Robert Sesek \u003crsesek@chromium.org\u003e\nCommit-Queue: Robbie Gibson \u003crkgibson@google.com\u003e\nCr-Commit-Position: refs/heads/master@{#641993}", "tree_diff": [ { "type": "modify", "old_id": "280fae14fabeb1d8a9064b094044bab59389319d", "old_mode": 33188, "old_path": "ios/chrome/browser/ui/browser_view_controller.mm", "new_id": "009ef8007f2c88b1b3f89ad14f50bfa4e6e173ce", "new_mode": 33188, "new_path": "ios/chrome/browser/ui/browser_view_controller.mm" }, { "type": "modify", "old_id": "cc66b2473b4620f4e3bb27edc63c8966a302d598", "old_mode": 33188, "old_path": "ui/gfx/image/image_util_ios.mm", "new_id": "038ac2a7821210cad87f49fb0517b2f4d94556eb", "new_mode": 33188, "new_path": "ui/gfx/image/image_util_ios.mm" } ] }